ID: 24245
Updated by: [EMAIL PROTECTED]
Reported By: yannl at istop dot com
-Status: Feedback
+Status: Bogus
Bug Type: Performance problem
Operating System: Suse Linux 8.1
PHP Version: 5CVS-2003-06-18 (dev)
New Comment:
Doing some recursion? Try shorter max_execution_time, your system is
very likely a lot faster in eating all memory than
you can think. And you should use memory_limit too..
configure with --enable-memory-limit and set the limit in php.ini to
something reasonable.
Not really bug.
Previous Comments:
------------------------------------------------------------------------
[2003-06-18 11:44:17] [EMAIL PROTECTED]
Please provide a FULL script, but also short that we can use to
reproduce it.
------------------------------------------------------------------------
[2003-06-18 09:55:29] yannl at istop dot com
Description:
------------
Hi, i noticed that php does not repesct the max_execution_time (set to
30 seconds in my case)
I made small programing error, see code below.
I think this should timeout pass 30 secondes, wich it is not doing,
wich is leading to the use of all my ressources.
Here is my configuration
System => Linux Pluton 2.4.19-4GB #1 Fri Sep 13 13:14:56 UTC 2002 i686
Build Date => Jun 18 2003 10:22:49
Configure Command => './configure' '--with-apache=../../apache_1.3.27'
'--with-mysql' '--enable-track-vars' '--with-dom' '--enable-sockets'
'--enable-wddx' '--with-xmlrpc' '--enable-xslt'
'--with-xslt-sablot=/usr/local/' '--with-zlib-dir=/usr/local/include'
'--with-expat-dir=/usr/local'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/lib/php.ini
PHP API => 20030518
PHP Extension => 20020429
Zend Extension => 90021012
Debug Build => no
Thread Safety => disabled
Registered PHP Streams => php, http, ftp, compress.zlib
Reproduce code:
---------------
function GetRegularExpression(){
return $this->GetRegularExpression();
// return $this->regular_expression;
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24245&edit=1