[rabbitmq-discuss] Thread more question
mklishin at gopivotal.com
Tue Apr 1 07:47:19 BST 2014
On 1 April 2014 at 09:34:34, thomas (1517427523 at qq.com) wrote:
> > we use thread to send message to mq,and the thread will sleep
> when it have no message to send,but i found that linux thread is
> become more and more,what happend?
It’s not really possible to suggest something without seeing your code.
if you open a new connection per temporarily created thread, then make
sure you close the connection.
In general, c onnections to RabbitMQ are supposed to be long lived.
Software Engineer, Pivotal/RabbitMQ
More information about the rabbitmq-discuss