RE: [PHP] Questions regarding limits of processes launched by system, exec, passthru ...
| From: | Richard Lynch | Date: | Thu, 25 Sep 2008 14:34:12 +0000 |
| Subject: | RE: [PHP] Questions regarding limits of processes launched by system, exec, passthru ... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-280916@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> Is there a way to limit the memory consumption and / or the CPU
> consumption of processes launched by the php functions system,
> exec, passthru, proc_open and shell_exec?
I suspect...
PHP pretty much releases control to the shell or whatever, and just waits around for it to finish.
You'll have to put limits into the called processes, I think....
I could be wrong.
_______________________________________________________
The information in this email or in any file attached
hereto is intended only for the personal and confiden-
tial use of the individual or entity to which it is
addressed and may contain information that is propri-
etary and confidential. If you are not the intended
recipient of this message you are hereby notified that
any review, dissemination, distribution or copying of
this message is strictly prohibited. This communica-
tion is for information purposes only and should not
be regarded as an offer to sell or as a solicitation
of an offer to buy any financial product. Email trans-
mission cannot be guaranteed to be secure or error-
free. P6070214