Hello all,<div><br></div><div>I have been doing some research over the past weeks unsuccessfully.</div><div><br></div><div>Let me explain, now I have an Ubuntu�2.6.32-38-server machine with rabbitmq 2.8.1 running.</div><div>

As you can see below the file descriptor is just is 1024 (924 at the moment) and the socket limit is 829.</div><div><br></div><div><div><b>patilla@test: sudo /etc/init.d/rabbitmq-server status</b></div><div>Status of node rabbit@SmartShaperTest ...</div>

<div>[{pid,29119},</div><div>�{running_applications,</div><div>� � �[{rabbitmq_management,&quot;RabbitMQ Management Console&quot;,&quot;2.8.1&quot;},</div><div>� � � {rabbitmq_management_agent,&quot;RabbitMQ Management Agent&quot;,&quot;2.8.1&quot;},</div>

<div>� � � {amqp_client,&quot;RabbitMQ AMQP Client&quot;,&quot;2.8.1&quot;},</div><div>� � � {rabbit,&quot;RabbitMQ&quot;,&quot;2.8.1&quot;},</div><div>� � � {os_mon,&quot;CPO �CXC 138 46&quot;,&quot;2.2.4&quot;},</div><div>

� � � {sasl,&quot;SASL �CXC 138 11&quot;,&quot;2.1.8&quot;},</div><div>� � � {rabbitmq_mochiweb,&quot;RabbitMQ Mochiweb Embedding&quot;,&quot;2.8.1&quot;},</div><div>� � � {webmachine,&quot;webmachine&quot;,&quot;1.7.0-rmq2.8.1-hg&quot;},</div>

<div>� � � {mochiweb,&quot;MochiMedia Web Server&quot;,&quot;1.3-rmq2.8.1-git&quot;},</div><div>� � � {inets,&quot;INETS �CXC 138 49&quot;,&quot;5.2&quot;},</div><div>� � � {mnesia,&quot;MNESIA �CXC 138 12&quot;,&quot;4.4.12&quot;},</div>

<div>� � � {stdlib,&quot;ERTS �CXC 138 10&quot;,&quot;1.16.4&quot;},</div><div>� � � {kernel,&quot;ERTS �CXC 138 10&quot;,&quot;2.13.4&quot;}]},</div><div>�{os,{unix,linux}},</div><div>�{erlang_version,</div><div>� � �&quot;Erlang R13B03 (erts-5.7.4) [source] [64-bit] [smp:4:4] [rq:4] [async-threa � � �ds:30] [hipe] [kernel-poll:true]\n&quot;},</div>

<div>�{memory,</div><div>� � �[{total,54392152},</div><div>� � � {processes,32356128},</div><div>� � � {processes_used,24209504},</div><div>� � � {system,22036024},</div><div>� � � {atom,1330113},</div><div>� � � {atom_used,1302718},</div>

<div>� � � {binary,223152},</div><div>� � � {code,15383701},</div><div>� � � {ets,2900344}]},</div><div>�{vm_memory_high_watermark,0.4},</div><div>�{vm_memory_limit,842620928},</div><div><font color="#ff0000" face="&#39;arial black&#39;, sans-serif">�{file_descriptors,</font></div>

<div><font color="#ff0000" face="&#39;arial black&#39;, sans-serif">� � �[{total_limit,924},{total_used,3},{sockets_limit,829},{sockets_used,1}]},</font></div><div>�{processes,[{limit,1048576},{used,178}]},</div><div>�{run_queue,0},</div>

<div>�{uptime,2352}]</div><div>...done.</div></div><div><br></div><div><br></div><div>Well, I also had rabbitmq running before in another machine (OLD machine from now on), same files, same code, the only difference was rabbit&#39;s version, 2.7.1</div>

<div><br></div><div>On the OLD machine I managed to increase these limits (file and socket) by editting the /etc/security/limits.conf file as shown:</div><div><br></div><div><div><b>rabbitmq �soft �nofile 10011</b></div>
<div>
<b>rabbitmq �hard �nofile 65000</b></div></div><div><br></div><div>And adding the following line to�<b>/etc/pam.d/common-session{,-noninteractive}</b>�</div><div><b>session required pam_limits.so</b></div><div><b><br></b></div>

<div><b><br></b></div><div>This worked fine, and on the rabbit management plugin I could see these changes:</div><div><br></div><div><img src="cid:ii_136c0c35e1ad9f2d" alt="Im�genes integradas 1"><br></div><div><br></div>

<div>When I tried to do the same on the NEW machine it seems like it is not working fine.</div><div><br></div><div>When I execute <b>ulimit -n</b> with rabbitmq user I get the same value as<b> limits.conf</b>, but in the management site......</div>

<div><br></div><div><b>rabbit@test: ulimit -n�</b></div><div>10011</div><div><br></div><div><br></div><div><img src="cid:ii_136c0c5b5a6da59b" alt="Im�genes integradas 2"><br></div><div><br></div><div><br></div><div>Any thoughts?</div>

<div><br></div><div>I can&#39;t find the error..... Could it be the version?</div><div><br></div><div><br></div><div>Thanks for your response in advance.</div><div><br></div><div><br></div><div>patilla.</div><div><br></div>

<div><br></div>