[rabbitmq-discuss] Thread locked

Michael Klishin michael.s.klishin at gmail.com
Thu Sep 8 17:14:52 BST 2011


> How can java.net.SocketOutputStream.socketWrite be locking everything else ?
> How much asynchronous is publishing ?

SocketFrameHandler.writeFrame does synchronization on the output stream it uses. It is difficult to tell what's going on
from just this stack trace, but

locked <0x2eb153f8> (a java.io.BufferedOutputStream)

makes me believe this *may* be a BufferedOutputStream issue. Deadlocks and running out of memory are usually not related to each other, though. Can you explain how you came to the conclusion about out of memory issues?

Thank you.

MK


More information about the rabbitmq-discuss mailing list