Re: [PHP-DEV] Some strange bug

2015-06-11 Thread Andrew Kluev
Wow! Now I understand. Thank you for the explanation 2015-06-11 15:10 GMT+03:00 Johannes Schlüter : > As said: It looks at CPU time. sleep doesn't require CPU time. Try with > something like while(true){} which keeps PHP on CPU > > > $ cat test.php > echo 'php_sapi_name: '.php_sapi_name().PHP_EO

Re: [PHP-DEV] Some strange bug

2015-06-11 Thread Christoph Becker
Andrew Kluev wrote: > It is very informative, but not resolve the problem, php completely ignored > my max_execution_teme setup with any SAPI, in all cases As Johannes wrote: > [...] whereas on Linux no time is spent during sleep(). -- Christoph M. Becker -- PHP Internals - PHP Runtime Devel

Re: [PHP-DEV] Some strange bug

2015-06-11 Thread Andrew Kluev
It is very informative, but not resolve the problem, php completely ignored my max_execution_teme setup with any SAPI, in all cases 2015-06-11 14:57 GMT+03:00 Andrew Kluev : > And php7 not working too. > > php7 -v > PHP 7.0.0-dev (cli) (built: Mar 30 2015 12:26:36) (DEBUG) > Copyright (c) 199

Re: [PHP-DEV] Some strange bug

2015-06-11 Thread Johannes Schlüter
On Thu, 2015-06-11 at 14:25 +0300, Andrew Kluev wrote: > sleep(3); [...] > This is a bug or something I do not know about php? Max execution time is working a bit dependent on the operating system. On Windows it is using the elapsed time ("wall clock time") on Linux systems the CPU time. Thus on w