You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/04/19 19:48:05 UTC

DO NOT REPLY [Bug 28473] New: - RLimitCPU and RLimitMEM do not seem to work

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: bugs@httpd.apache.org
        ReportedBy: floeff@arcor.de


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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org