[prev in list] [next in list] [prev in thread] [next in thread] 

List:       stunnel-users
Subject:    Re: [stunnel-users] accept : too many open files error(24)
From:       Senthil Naidu <senthil.naidu () gmail ! com>
Date:       2013-07-01 9:21:27
Message-ID: CAKY1Vv6bEKpDw21JOb4MbmOg9PtpvnMJj1L=W8=66i_56QuZUA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@nails.eu.org>wrote:

> 2013/6/30 Senthil Naidu <senthil.naidu@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
>

[Attachment #5 (text/html)]

<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 &lt;value&gt; 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">&lt;<a href="mailto:rraptorr@nails.eu.org" \
target="_blank">rraptorr@nails.eu.org</a>&gt;</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 &lt;<a \
href="mailto:senthil.naidu@gmail.com">senthil.naidu@gmail.com</a>&gt;:<br> <div \
class="im">&gt; Hi,<br> &gt;<br>
&gt; We are using 64 bit version of centos, and the ram of this system is 1gb<br>
&gt; 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>



_______________________________________________
stunnel-users mailing list
stunnel-users@stunnel.org
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic