NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ulimit and nginx
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