Re: Interesting sleep() side-effect

From: Date: Wed, 27 Jan 1999 06:27:54 +0000
Subject: Re: Interesting sleep() side-effect
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-3739@lists.php.net to get a copy of this message
On 27 Jan 99, at 0:49, Rasmus Lerdorf wrote: > In testing Thies' connection abort detection code, completely unrelated to > his stuff, I noticed an interesting side-effect of calling sleep() in a > PHP script. I have tried this on both Linux and Solaris and get the same > results. Could you guys with access to other OS'es try this one? I just ran your script on CGI PHP 3.0.3 on FreeBSD 2.2.6. With sleep commented out, /tmp/done says "i reached 63". With sleep uncommented, it says "i reached 70". Obviously, that ain't what it should be. So add FreeBSD to your list... (In both cases, the script printed "Maximum execution time of 30 seconds exceeded" when it died, but that was fixed since 3.0.3, right?) Dave ---------------------------------------------------------------------- Dave Walton Webmaster, Postmaster Emusic walton@emusic.com http://www.emusic.com ---------------------------------------------------------------------- -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3739) next »