[stunnel-users] accept : too many open files error(24)
Senthil Naidu
senthil.naidu at gmail.com
Mon Jul 1 11:09:27 CEST 2013
Hi janusz,
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.
Thanks for the support
Regards
senthil
On Mon, Jul 1, 2013 at 1:55 PM, Janusz Dziemidowicz
<rraptorr at nails.eu.org>wrote:
> 2013/6/30 Senthil Naidu <senthil.naidu at gmail.com>:
> > Hi,
> >
> > We are using 64 bit version of centos, and the ram of this system is 1gb
> > so should we increase this limit to 100000 in the limits.conf
>
> limits.conf is used only for interactive login sessions (i.e. when you
> login to your system as a stunnel user). It is _not_ used by daemons
> in your system (unless CentOS does something unusual in the startup
> script).
> You can check limits of a running process in /proc/PID/limits file,
> most probably your stunnel has still the default value (1024 usually).
> You should use ulimit -n in your stunnel startup script to modify file
> descriptor limit.
>
> --
> Janusz Dziemidowicz
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20130701/770d92f8/attachment.html>
More information about the stunnel-users
mailing list