So ulimit in the init script is redundant.
I'll use worker_rlimit_nofile.
Thanks
On Tue, Jun 4, 2013 at 5:35 PM, Sergey Budnevitch wrote:
>
> On 4 Jun2013, at 17:32 , pablo platt wrote:
>
> > "worker_rlimit_nofile set RLIMIT_NOFILE for workers only, so master
> process still sees previous
On 4 Jun2013, at 17:32 , pablo platt wrote:
> "worker_rlimit_nofile set RLIMIT_NOFILE for workers only, so master process
> still sees previous value."
> http://mailman.nginx.org/pipermail/nginx/2008-April/004596.html
You hardly need to increase number of file descriptors for master process,
"worker_rlimit_nofile set RLIMIT_NOFILE for workers only, so master process
still sees previous value."
http://mailman.nginx.org/pipermail/nginx/2008-April/004596.html
If worker_rlimit_nofile doesn't affect the master process and limits.conf
doesn't affect init script, do I need to call ulimit in
On 4 Jun2013, at 17:04 , pablo platt wrote:
> It's not clear to me how worker_rlimit_nofile, /etc/security/limits.conf and
> setting ulimit in the init.d script are related.
>
> Is worker_rlimit_nofile the same as using ulimit in the init.d script?
> Or does ulimit sets the maximum limit and
On 4 Jun2013, at 16:39 , Maxim Dounin wrote:
> Hello!
>
> On Tue, Jun 04, 2013 at 04:30:40PM +0400, Sergey Budnevitch wrote:
>
>>
>> On 4 Jun2013, at 15:39 , pablo platt wrote:
>>
>>> Hi,
>>>
>>> I'm using the ubuntu package from nginx.org.
>>>
>>> In the package from the official ubunt
It's not clear to me how worker_rlimit_nofile, /etc/security/limits.conf
and setting ulimit in the init.d script are related.
Is worker_rlimit_nofile the same as using ulimit in the init.d script?
Or does ulimit sets the maximum limit and worker_rlimit_nofile the limit
per worker?
Why does the in
2013/6/4 Sergey Budnevitch :
> No. I will try to wait until either systemd or upstart win. :-)
In case you want to support other distros than Ubuntu, you should have
an eye on SystemD …but this is Off-Topic here.
Regards, Andre
___
nginx mailing list
n
Hello!
On Tue, Jun 04, 2013 at 04:30:40PM +0400, Sergey Budnevitch wrote:
>
> On 4 Jun2013, at 15:39 , pablo platt wrote:
>
> > Hi,
> >
> > I'm using the ubuntu package from nginx.org.
> >
> > In the package from the official ubuntu repo, you can set file descriptor
> > limit by changing /
On 4 Jun2013, at 15:39 , pablo platt wrote:
> Hi,
>
> I'm using the ubuntu package from nginx.org.
>
> In the package from the official ubuntu repo, you can set file descriptor
> limit by changing /etc/default/nginx
> # Check if the ULIMIT is set in /etc/default/nginx
> if [ -n "$ULIMIT" ];
Hi,
I'm using the ubuntu package from nginx.org.
In the package from the official ubuntu repo, you can set file descriptor
limit by changing /etc/default/nginx
# Check if the ULIMIT is set in /etc/default/nginx
if [ -n "$ULIMIT" ]; then
# Set the ulimits
ulimit $ULIMIT
fi
Is there a reaso
10 matches
Mail list logo