httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Lopez <dan...@rawbyte.com>
Subject Re: RLimitNPROC behaviour question
Date Thu, 03 Oct 2002 01:23:32 GMT


On Thu, Oct 03, 2002 at 03:22:35AM +0200, André Malo wrote:
> http://httpd.apache.org/docs-2.0/mod/core.html#rlimitnproc says:
> 
> | Note: If CGI processes are not running under userids other than the
> | web server userid, this directive will limit the number of processes
> | that the server itself can create. Evidence of this situation will
> | be indicated by "cannot fork" messages in the error_log.
> 
> I looked into the kernel code and played around with strace and found
> that it's not true at least for linux 2.2 and 2.4. 
> 
> the rlimit properties will be set after forking and apply only to the
> forked process and it's children. So it cannot influence the server
> processes in such way. But my experiences with other OSes are very
> small. Can someone leave a word on behaviour of other OSes? 
> 
> If I'm totally wrong, please tell me ;-)

The directive refers only to the CGI processes, not the server processes
(the wording can be confusing)

Cheers

Daniel

-- 
Teach Yourself Apache 2 -- http://apacheworld.org/ty24/

Mime
View raw message