Forge: Stomp
  1. Forge: Stomp
  2. STOMP-7

Failing to disconnect can exhaust AMQ descriptors

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Component/s: php
    • Labels:
      None
    • Similar Issues:
      Show 3 results 

      Description

      ActiveMQ ran out of file descriptors, was accepting socket connections, but could not accept any incoming data. This put the client into a loop where it tried to:

      • do a graceful disconnect
      • that failed (fwrite raising a PHP notice)
      • try to reconnect
      • do a graceful disconnect
      • that failed (fwrite raising a PHP notice)
      • try to reconnect
      • do a graceful disconnect
      • that failed (fwrite raising a PHP notice)
      • ....

      If the loop wasn't bad enough, the PHP notices raised overwhelmed my database recording the errors.

        Gliffy Diagrams

          Activity

          Hide
          Dejan Bosanac added a comment -

          Patch that solves this issue by blocking a reconnect attempt should a graceful disconnect fail, as well as suppressing the PHP notice on the fwrite.

          Show
          Dejan Bosanac added a comment - Patch that solves this issue by blocking a reconnect attempt should a graceful disconnect fail, as well as suppressing the PHP notice on the fwrite.

            People

            • Assignee:
              Unassigned
              Reporter:
              Dejan Bosanac
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development