<div dir="ltr">Hello Simon,<div> Cent OS takes much lesser traffic than I have on Ubuntu. I migrated 5% cpu traffic from ubuntu and It caused 15% cpu increase in Cent OS. I goggled and noticed quite similar questions but didn't find any solutions. If there are a few knobs that I can tune, I would be happy to test it out. </div>
<div> </div><div> BTW, I don't use Mandatory/Immediate flags or Acks. All my publisher & consumer calls are asynchronous. </div><div><br></div><div>Thanks,</div><div>Shri</div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Mon, Nov 25, 2013 at 9:28 AM, Simon MacMullen <span dir="ltr"><<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm afraid there isn't a good way to see which parts of the broker are busy at the moment (we hope to add something along these lines in a future release).<br>
<br>
I'm suspicious of the idea that it's distro-related though. Is the CentOS server really performing the same workload as the Ubuntu server?<br>
<br>
To get to the bottom of this you'd have to gradually take bits away until you see the CPU usage drop - stop connections, disable plugins and so on.<br>
<br>
Cheers, Simon<div class="im"><br>
<br>
On 25/11/2013 16:53, shridharan muthu wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hello There,<br>
<br>
Reg my previous message, is there anyway to dig into the high cpu<br>
usage issue? With similar configs in Ubuntu & Cent OS, Cent OS takes lot<br>
more cpu for beam.smp process. I switched log level to "info" but<br>
noticed nothing unusual.<br>
<br>
Any help would be appreciated.<br>
<br>
Thanks,<br>
Shri<br>
<br>
<br>
On Fri, Nov 22, 2013 at 3:56 PM, shridharan muthu<br></div><div class="im">
<<a href="mailto:shridharan.m@gmail.com" target="_blank">shridharan.m@gmail.com</a> <mailto:<a href="mailto:shridharan.m@gmail.com" target="_blank">shridharan.m@gmail.com</a><u></u>>> wrote:<br>
<br>
Hi There,<br>
I am experiencing high cpu usage (above 400%) on Cent OS rabbit<br>
mq cluster (with 2 nodes). We have a similar setup in Ubuntu and cpu<br>
usage seems fine. Pls fine the report, status and top below.<br>
<br></div>
OS: /CentOS release 6.4/<br>
<br>
Report:<br>
/{pid,2148},/<br>
/ {running_applications,/<br>
/ [{rabbitmq_management,"<u></u>RabbitMQ Management Console","3.0.2"},/<br>
/ {rabbitmq_management_agent,"<u></u>RabbitMQ Management Agent","3.0.2"},/<br>
/ {rabbit,"RabbitMQ","3.0.2"},/<br>
/ {os_mon,"CPO CXC 138 46","2.2.7"},/<br>
/ {rabbitmq_mochiweb,"RabbitMQ Mochiweb Embedding","3.0.2"},/<br>
/ {webmachine,"webmachine","1.9.<u></u>1-rmq3.0.2-git52e62bc"},/<br>
/ {mochiweb,"MochiMedia Web Server","2.3.1-rmq3.0.2-<u></u>gitd541e9a"},/<br>
/ {xmerl,"XML parser","1.2.10"},/<br>
/ {inets,"INETS CXC 138 49","5.7.1"},/<br>
/ {mnesia,"MNESIA CXC 138 12","4.5"},/<br>
/ {amqp_client,"RabbitMQ AMQP Client","3.0.2"},/<br>
/ {sasl,"SASL CXC 138 11","2.1.10"},/<br>
/ {stdlib,"ERTS CXC 138 10","1.17.5"},/<br>
/ {kernel,"ERTS CXC 138 10","2.14.5"}]},/<br>
/ {os,{unix,linux}},/<br>
/ {erlang_version,/<br>
/ "Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:12:12]<br>
[rq:12] [async-threads:30] [kernel-poll:true]\n"},/<br>
/ {memory,/<br>
/ [{total,285898072},/<br>
/ {connection_procs,16592856},/<br>
/ {queue_procs,1064888},/<br>
/ {plugins,269872},/<br>
/ {other_proc,13173224},/<br>
/ {mnesia,100632},/<br>
/ {mgmt_db,2167672},/<br>
/ {msg_index,35352},/<br>
/ {other_ets,72058416},/<br>
/ {binary,7326576},/<br>
/ {code,17434264},/<br>
/ {atom,3356065},/<br>
/ {other_system,152318255}]},/<br>
/ {vm_memory_high_watermark,0.4}<u></u>,/<br>
/ {vm_memory_limit,4991811584},/<br>
/ {disk_free_limit,1000000000},/<br>
/ {disk_free,17927184384},/<br>
/ {file_descriptors,/<br>
/ [{total_limit,199900},/<br>
/ {total_used,314},/<br>
/ {sockets_limit,179908},/<br>
/ {sockets_used,312}]},/<br>
/ {processes,[{limit,1048576},{<u></u>used,2703}]},/<br>
/ {run_queue,0},/<br>
/ {uptime,3207797}]/<br>
<br>
From Top:<br>
/ 2249 rabbitmq 20 0 2989m 319m 2540 S 371.5 2.7 25109:43<br>
beam.smp /<div class="im"><br>
<br>
<br>
Pls advise me how to proceed further.<br>
<br>
Thanks,<br>
Shri<br>
<br>
<br>
<br>
<br></div>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
<br>
</blockquote>
<br>
</blockquote></div><br></div>