Issue Type: Bug Created: 2009-07-27T22:08:28.000+0000 Last Updated: 2012-11-20T21:38:08.000+0000 Status: Open Fix version(s): Reporter: Daniel Lo (danlo) Assignee: None Tags: - Zend_Queue
Related issues: Attachments:
When using the ActiveMQ adapter, this error is presented at the end of the test script:
Fatal error: Exception thrown without a stack frame in Unknown on line 0
I suspect it is because the resource $this->_socket has already been closed. However, as to why it throws the error is a mystery to me.
The culprit code is at:
trunk/library/Zend/Queue/Stomp/Client/Connection.php function close()
Posted by Kevin Bowman (kevinbowman) on 2010-01-08T06:22:02.000+0000
The solution to this (to comment-out the "close socket" line in the Stomp/Client/Connection.php file) is causing us some problems, as we're opening and closing a lot of connections in a single process. However, as they're not being closed, the ActiveMQ server is running out of file handles and dying :(
Any chance that a better solution to this can be found, and start actually closing the socket in the "close()" function?
Posted by Daniel Lo (danlo) on 2010-01-11T02:21:12.000+0000
I am aware of this bug, but I don't know what the solution is.
I have also gotten some code together, but not yet tested to reduce the connection count, but I'm putting a lot of work hours.
Have you found an issue?
See the Overview section for more details.