Re: [PHP-DEV] Interesting sleep() side-effect From: Dave Walton (walton <email protected>)
Date: 01/27/99

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 <email protected> http://www.emusic.com
----------------------------------------------------------------------

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>