File:  [NetBSD Developer Wiki] / wikisrc / How_to_increase_ulimit_with_rc.conf.mdwn
Revision 1.1: download - view: text, annotated - select for diffs
Fri Oct 3 03:18:21 2014 UTC (7 years, 9 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by mspo

Using apache as an example:

Create the file /etc/rc.conf.d/apache

and put in it:

 start_precmd="ulimit -n 1024"


This should work for anything in rc.conf.

You can also set a "global" rc.conf ulimit by putting start_precmd in /etc/rc.conf itself

CVSweb for NetBSD wikisrc <> software: FreeBSD-CVSweb