NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ulimit and nginx



Thanks!


--- On Thu, 6/19/08, Geert Hendrickx <ghen%telenet.be@localhost> wrote:

> From: Geert Hendrickx <ghen%telenet.be@localhost>
> Subject: Re: ulimit and nginx
> To: "Badiane Ka" <badiane_ka%yahoo.com@localhost>
> Cc: netbsd-users%NetBSD.org@localhost
> Date: Thursday, June 19, 2008, 1:13 PM
> On Wed, Jun 18, 2008 at 12:08:16PM -0700, Badiane Ka wrote:
> > links, ulimit being to low.  One link said to place a
> ulimit directive in
> > the startup file.  I wanted to know if that
> shouldn't be done globally?
> 
> 
> You can do it easily via rc.d without having to edit the
> nginx rc.d
> script itself (so you won't break it with updates), by
> putting it in
> /etc/rc.conf.d/nginx instead:
> 
> --->
> start_precmd="set_limits"
> 
> set_limits()
> {
>         ulimit <whatever>
> }
> <---
> 
>       Geert


      


Home | Main Index | Thread Index | Old Index