<div dir="ltr"><div><div><div>Hi janusz,<br><br></div>Thanks for the mail, after checking the limits in /proc/PID/limits file is was found to be 1024 after adding the ulimit -n <value> to stunnel startup the same was showing the new value.<br>
<br></div>Thanks for the support<br><br></div>Regards<br>senthil<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 1, 2013 at 1:55 PM, Janusz Dziemidowicz <span dir="ltr"><<a href="mailto:rraptorr@nails.eu.org" target="_blank">rraptorr@nails.eu.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2013/6/30 Senthil Naidu <<a href="mailto:senthil.naidu@gmail.com">senthil.naidu@gmail.com</a>>:<br>
<div class="im">> Hi,<br>
><br>
> We are using 64 bit version of centos, and the ram of this system is 1gb<br>
> so should we increase this limit to 100000 in the limits.conf<br>
<br>
</div>limits.conf is used only for interactive login sessions (i.e. when you<br>
login to your system as a stunnel user). It is _not_ used by daemons<br>
in your system (unless CentOS does something unusual in the startup<br>
script).<br>
You can check limits of a running process in /proc/PID/limits file,<br>
most probably your stunnel has still the default value (1024 usually).<br>
You should use ulimit -n in your stunnel startup script to modify file<br>
descriptor limit.<br>
<br>
--<br>
Janusz Dziemidowicz<br>
</blockquote></div><br></div>