Limiting CPU usage/time of spawned processes

From: Date: Wed, 09 Jan 2002 18:46:58 +0000
Subject: Limiting CPU usage/time of spawned processes
Groups: php.general 
Request: Send a blank email to php-general+get-79942@lists.php.net to get a copy of this message
Hi There, Okay, I have a server that allows a couple hundred virtual hosts that we have run websites as we are a hosting company. Recently one of our customers decided to spawn lynx through PHP. The process was running at 80% cpu for over 400 minutes, and it appears that Apache's RLimitCPU directive had no effect on this. Is there any directives in PHP which can perform the same feat (i.e. killing a process for running for too long, or limiting it's CPU usage). Thanks,
    Mike


« previous php.general (#79942) next »