Bug #17160 Updated: sleep() * usleep() bypass set_time_limit()

From: Date: Tue, 18 Jun 2002 11:59:17 +0000
Subject: Bug #17160 Updated: sleep() * usleep() bypass set_time_limit()
References: 1  Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-11128@lists.php.net to get a copy of this message
ID: 17160 Updated by: mfischer@php.net Reported By: ilia@prohost.org Status: Closed -Bug Type: Scripting Engine problem +Bug Type: Documentation problem Operating System: Linux 2.4.18 PHP Version: 4.2.0 New Comment: I think hartmut explained this well and it should be noted in the documentation were appropriate Previous Comments: ------------------------------------------------------------------------ [2002-06-18 07:55:45] hholzgra@php.net max_execution_time limits use of CPU time, not real time, sleep() and usleep() don't use any CPU, so ... ------------------------------------------------------------------------ [2002-05-12 10:21:04] rasmus@php.net Pretty much documented and by design. I don't see anything that needs fixing here. ------------------------------------------------------------------------ [2002-05-12 10:03:25] ilia@prohost.org PHP's sleep & usleep() functions can be used to bypass set_time_limit() and allow a script to sleep forever thus taking up a webserver thread/process for an unlimited period of time. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17160&edit=1

« previous php.bugs (#11128) next »