Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1253

PHP client using C API send no empty frames - ActiveMQ broker drops the connection due to Inactivity after 60 seconds

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • proton-0.12.0, proton-0.13.0
    • None
    • proton-c
    • Linux yuriy-Aspire-E5-573G 4.2.0-18-generic #22-Ubuntu SMP Fri Nov 6 18:25:50 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
    • Important

    Description

      Dear developers,

      Could you please, clarify the following issue.

      PHP client disconnected after no data message in the queue for 60 seconds.
      Have client frame trace enabled (PN_TRACE_FRM=true)
      No active frame sent by the client in order to prevent being disconnected by ActiveMQ InactivityMonitor

      Please advice, is there any way of setting heartbeats for the PHP client.
      Please find, frames trace below.

      Kind Regards,
      Yuriy

      2016-07-11 14:05:46
      [0x2af58f0]: -> AMQP
      [0x2af58f0]:0 -> @open(16) [container-id="68426F2E-012E-4A64-BE2E-1E5355B4B022", hostname="0.0.0.0", channel-max=32767]
      [0x2af58f0]:0 -> @begin(17) [next-outgoing-id=0, incoming-window=2147483647, outgoing-window=2147483647]
      [0x2af58f0]:0 -> @attach(18) [name="first-test-queue", handle=0, role=true, snd-settle-mode=0, rcv-settle-mode=0, source=@source(40) [address="first-test-queue", durable=0, timeout=0, dynamic=false], target=@target(41) [address="first-test-queue", durable=0, timeout=0, dynamic=false], initial-delivery-count=0]
      [0x2af58f0]:0 -> @flow(19) [incoming-window=2147483647, next-outgoing-id=0, outgoing-window=2147483647, handle=0, delivery-count=0, link-credit=1024, drain=false]
      [0x2af58f0]: <- AMQP
      [0x2af58f0]:0 <- @open(16) [container-id="", hostname="", max-frame-size=4294967295, channel-max=32767, idle-time-out=15000, offered-capabilities=@PN_SYMBOL[:"ANONYMOUS-RELAY"], properties={:product="ActiveMQ", :platform="Java/1.7.0_101", :"topic-prefix"="topic://", :"queue-prefix"="queue://", :version="5.12.0"}]
      [0x2af58f0]:0 <- @begin(17) [remote-channel=0, next-outgoing-id=1, incoming-window=0, outgoing-window=0, handle-max=65535]
      [0x2af58f0]:0 <- @flow(19) [next-incoming-id=0, incoming-window=2147483647, next-outgoing-id=1, outgoing-window=0]
      [0x2af58f0]:0 <- @attach(18) [name="first-test-queue", handle=0, role=false, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [address="first-test-queue"], target=@target(41) [address="first-test-queue"], incomplete-unsettled=false, initial-delivery-count=0]

      [0x2af58f0]:0 <- @close(24) [error=@error(29) [condition=:"amqp:resource-limit-exceeded", description="local-idle-timeout expired"]]
      [0x2af58f0]: <- EOS
      [0x2af58f0]:0 -> @close(24) []
      [0x2af58f0]: -> EOS
      2016-07-11 14:06:46

      Attachments

        Activity

          People

            Unassigned Unassigned
            yuriy.yakubskiy@rocketroute.com Yuriy Yakubskiy
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: