André, Thanks for the reply. That explains what I'm seeing. -----Original Message----- From: André Malo <nd@xxxxxxxxx> Subj: Re: [users@httpd] RLimitNPROC overly agressive Date: Sun 8 May 2005 21:43 Size: 1K To: users@xxxxxxxxxxxxxxxx * Michael Johnson - MJ wrote: > User foo > RLimitNPROC 5 5 > The user 'foo' has 4 ssh sessions (or 4 of any process) active. > > If the 'foo' has a cgi that does not fork any additional processes, he > can have five concurrent instances of it running as one would expect. > > However, if the has a cgi that forks even 1 single process, the > following error is generated in the logs: > test.sh: fork: Resource temporarily unavailable That is, how it works; at least on linux. When calling fork() the kernel counts the processes that belong to the user and rejects based on this number. Other OSes may treat that differently (RLIMIT_NPROC is not standardized afaics). nd -- print "Just Another Perl Hacker"; # André Malo, <http://www.perlig.de/> # --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx