Re: Re: Questions regarding limits of processes launched bysystem, exec,passthru ...
| From: | Valentin Schmid - ICSurselva AG | Date: | Thu, 02 Oct 2008 05:29:47 +0000 |
| Subject: | Re: Re: Questions regarding limits of processes launched bysystem, exec,passthru ... | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-281354@lists.php.net to get a copy of this message | ||
Hello Thodoris,
>
>> Hello all again,
>>
>> It seems that Problem can only be solved by one of the following ways:
>>
>> 1. Don't use mod_php; use CGI or FastCGI instead. Then it would be
>> possible to limit the resources via RLimitCPU / RLimitMEM.
>>
>
> I haven't tried that but as I have noticed in the reference that
> probably mod_php's processes get limited too:
>
> This applies to processes forked off from Apache children servicing
> requests, not the Apache children themselves.
> This includes CGI scripts and SSI exec commands, but not any processes
> forked off from the Apache parent such as piped logs.
>
> It says that it includes CGI but it doesn't exclude necessarily mod_php.
> Does it ?
No, it doesn't.