Re: [PHP] Re: Questions regarding limits of processes launched bysystem, exec,passthru ...

2008-10-01 Thread Valentin Schmid - ICSurselva AG
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

[PHP] Re: Questions regarding limits of processes launched by system, exec,passthru ...

2008-09-29 Thread Valentin Schmid - ICSurselva AG
://archives.neohapsis.com/archives/openbsd/2005-12/1436.html or the following apache module: http://www.ucc.asn.au/~dagobah/things/mod_rlimit.c (Unfortunately only for apache 1.3) Thanks for all your answers. Kind regards valli Valentin Schmid - ICSurselva AG wrote: Hello all, Is there a way to limit

[PHP] Questions regarding limits of processes launched by system, exec, passthru ...

2008-09-25 Thread Valentin Schmid - ICSurselva AG
Hello all, 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? We use mod_php with an apache (mpm-prefork) on Linux. The following settings don't have any effect at all: PHP: