Chuck Short wrote at 07/02/2009 09:51 AM: > Do you have a script or a cgi that tests this bug? >
The following "cgi-bin" script can be used to trigger "RLimitCPU" in a correctly functioning Apache. Setting the limits to 2 seconds of CPU time typically permits around 10 seconds of real time to watch the time grow in "top". On a correctly functioning Apache, the process terminates shortly after 2 seconds of CPU time are incurred. Thanks. #!/bin/sh echo "Content-Type: text/html" echo "" echo "BEFORE" while true ; do expr 1 + 1 > /dev/null done echo "AFTER" -- RLimitCPU has no effect in Apache https://bugs.launchpad.net/bugs/394350 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs