<div dir="ltr"><div><div><div>Hi,<br><br></div>We are using 64 bit version of centos, and the ram of this system is 1gb<br></div>so should we increase this limit to 100000 in the limits.conf<br><br></div>Regards<br>senthil<br>
<div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jun 30, 2013 at 12:31 AM, Michael Curran <span dir="ltr"><<a href="mailto:mike_curran@hotmail.com" target="_blank">mike_curran@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>
<div>Are you running 32-kernel for centos?</div>
<div><br>
</div>
<div>32-bit limits in the 4500 range for open connections due to the memory constraints</div>
<div><br>
</div>
<div>We usually set our open file limits to 100I specifically for Stunnel user</div>
<div><br>
</div>
<div><font style="color:#333333"><i>Sent from my Verizon Wireless 4G LTE DROID</i></font></div>
</div>
<br>
<br>
Senthil Naidu <<a href="mailto:senthil.naidu@gmail.com" target="_blank">senthil.naidu@gmail.com</a>> wrote:<br>
<br>
<div>
<div dir="ltr">
<p><font face="Arial"><span style="font-family:Arial;font-size:10pt">Hi</span></font></p>
<p><font face="Arial"><span style="font-family:Arial;font-size:10pt">�</span></font></p>
<p><font face="Courier New"><span style="font-family:'Courier New';font-size:10pt">We are using stunnel 4.32 on centos and our ulimits in limits.conf are as follows</span></font></p>
<p><font face="Courier New"><span style="font-family:'Courier New';font-size:10pt">�</span></font></p>
<p><font face="Courier New"><span style="font-family:'Courier New';font-size:10pt">*� soft nofile 16384</span></font></p>
<p><font face="Courier New"><span style="font-family:'Courier New';font-size:10pt">*� hard nofile 65536</span></font></p>
<p><font face="Courier New"><span style="font-family:'Courier New';font-size:10pt">�</span></font></p>
<p><font face="Arial"><span style="font-family:Arial;font-size:10pt">We keep getting the error �too many open files(24)� and stunnel does not accept new connection till we restart the same</span></font></p>
<p><font face="Arial"><span style="font-family:Arial;font-size:10pt">�</span></font></p>
<p><font face="Arial"><span style="font-family:Arial;font-size:10pt">Is this ulimit proper or we need to increase the same , we are look for 3000 to 5000 connections</span></font></p>
<p><font face="Arial"><span style="font-family:Arial;font-size:10pt">�</span></font></p>
<p><font face="Arial"><span style="font-family:Arial;font-size:10pt">Regards</span></font></p>
<p><font face="Arial"><span style="font-family:Arial;font-size:10pt">Senthil</span></font></p>
</div>
</div>
</div>
</blockquote></div><br></div>