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 (6 years, 1 month ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by mspo

    1: Using apache as an example:
    2: 
    3: Create the file /etc/rc.conf.d/apache
    4: 
    5: and put in it:
    6: 
    7:  start_precmd="ulimit -n 1024"
    8: 
    9: ---
   10: 
   11: This should work for anything in rc.conf.
   12: 
   13: You can also set a "global" rc.conf ulimit by putting start_precmd in /etc/rc.conf itself

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb