httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Tao <>
Subject setrlimit() before forking?
Date Wed, 09 Aug 1995 10:14:48 GMT
    Ran into a problem on a server where it was unable to fork off a
CGI process because user "nobody" had a default low process limit.  My
solution was to either do an "unlimit" from csh as root, then starting
the server, or write a csh script wrapper around httpd.  What do
people think of adding a setrlimit() call in the parent process to
raise/set resource limits before firing off the children?
Brian ("Though this be madness, yet there is method in't") Tao <-- work ........ play -->

View raw message