2013/6/30 Senthil Naidu <senthil.naidu@gmail.com>:
> Hi,limits.conf is used only for interactive login sessions (i.e. when you
>
> 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
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