[rabbitmq-discuss] Thread locked

jeanphilippe1.caruana at orange-ftgroup.com jeanphilippe1.caruana at orange-ftgroup.com
Fri Sep 9 09:57:08 BST 2011


Hi,

On 08/09/2011 18:14, Michael Klishin wrote:
>> 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?

I didn't come to any conclusion : we had several OutOfMemoryError and we 
did a thread dump. According to this dump, the thread lock occured at 
the OutOfMemoryError time when the jvm crashed, that's all I can say for 
now.

You say "this may be a BufferedOutputStream" : what do you mean ? Where 
should I be looking ? What kind of information is needed ?

Thanks for your input.

-- 
Jean-Philippe Caruana

























********************************************************************************
IMPORTANT.Les informations contenues dans ce message electronique y compris les fichiers attaches sont strictement confidentielles
et peuvent etre protegees par la loi.
Ce message electronique est destine exclusivement au(x) destinataire(s) mentionne(s) ci-dessus.
Si vous avez recu ce message par erreur ou s il ne vous est pas destine, veuillez immediatement le signaler  a l expediteur et effacer ce message 
et tous les fichiers eventuellement attaches.
Toute lecture, exploitation ou transmission des informations contenues dans ce message est interdite.
Tout message electronique est susceptible d alteration.
A ce titre, le Groupe France Telecom decline toute responsabilite notamment s il a ete altere, deforme ou falsifie.
De meme, il appartient au destinataire de s assurer de l absence de tout virus.

IMPORTANT.This e-mail message and any attachments are strictly confidential and may be protected by law. This message is
intended only for the named recipient(s) above.
If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this e-mail message.
Any unauthorized view, usage or disclosure ofthis message is prohibited.
Since e-mail messages may not be reliable, France Telecom Group shall not be liable for any message if modified, changed or falsified.
Additionally the recipient should ensure they are actually virus free.
********************************************************************************



More information about the rabbitmq-discuss mailing list