[rabbitmq-discuss] Many RabbitMQ Status Processes

Eric Berg ehberg at gmail.com
Tue Mar 19 16:18:17 GMT 2013


Hi! I have a 2 node cluster running for a prototype we are developing, it 
handles over 1000 queues and over 1000 msg/s when running at full speed. We 
had an issue recently with some run away processes that published messages 
from production app servers vi the php library:

https://github.com/videlalvaro/php-amqplib

The cause of that is still under investigation, but it left many thousands 
of 'stale' idle connections that rabbit was maintaining. Attempting to 
stop/start each node hangs indefinitely, the only way get a full restart of 
the server is to actually restart the hardware. I see 58 'status' processes 
attributed to rabbit:

rabbitmq 16066 16033  0 Mar18 ?        00:00:00 inet_gethost 4
rabbitmq 16067 16066  0 Mar18 ?        00:00:00 inet_gethost 4
root     17713 20340  0 05:27 ?        00:00:00 /bin/sh 
/etc/init.d/rabbitmq-server status
root     17716 17713  0 05:27 ?        00:00:00 /bin/sh 
/usr/sbin/rabbitmqctl status
root     17725 17716  0 05:27 ?        00:00:00 su rabbitmq -s /bin/sh -c 
/usr/lib/rabbitmq/bin/rabbitmqctl  "status"
rabbitmq 17726 17725  0 05:27 ?        00:00:00 
/usr/lib64/erlang/erts-5.8.5/bin/beam.smp -- -root /usr/lib64/erlang 
-progname erl -- -home /var/lib/rabbitmq -- -pa 
/usr/lib/rabbitmq/lib/rabbitmq_server-3.0.1/sbin/../ebin -noshell -noinput 
-hidden -sname rabbitmqctl17726 -s rabbit_control_main -nodename 
rabbit at rabbit -extra status


When stopping the node I see this in the log file:
=INFO REPORT==== 19-Mar-2013::11:18:32 ===
Stopping RabbitMQ

=INFO REPORT==== 19-Mar-2013::11:18:32 ===
    application: rabbitmq_management_visualiser
    exited: stopped
    type: temporary

=INFO REPORT==== 19-Mar-2013::11:18:32 ===
    application: rabbitmq_federation_management
    exited: stopped
    type: temporary


Has anyone see issues with many thousands of stale connections, in 
combination with many status processes and hanging stop/start? Currently 
there are are no producers or consumers connected to this box.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130319/913080b9/attachment.htm>


More information about the rabbitmq-discuss mailing list