DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28473>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28473

RLimitCPU and RLimitMEM do not seem to work

           Summary: RLimitCPU and RLimitMEM do not seem to work
           Product: Apache httpd-2.0
           Version: 2.0.49
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Maybe I misunderstand something, but for me it seems that RLimitCPU and 
RLimitMEM do not work. In my httpd.conf, I set

RLimitCPU 2
RLimitMEM 10485760

which - to my understanding - should limit executing time for external scripts 
to 2 seconds and limit the all scripts 10 MB memory limit. This does not work.

I have PHP running as CGI with 2.0.49 on Linux 2.4.26 here, and with a hughe 
PHP 
file involving some diagram creation, I can kill the machine if I re-load the 
script for five seconds continuously. It soaks up all my memory - thus is not 
limited to 10 MB - and runs for nearly a minute.

What could be wrong in here? If you need more information, please let me know. 
Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to