|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24245 max_execution_time
Submitted: 2003-06-18 09:55 UTC Modified: 2003-06-18 12:49 UTC
From: yannl at istop dot com Assigned:
Status: Not a bug Package: Performance problem
PHP Version: 5CVS-2003-06-18 (dev) OS: Suse Linux 8.1
Private report: No CVE-ID: None
 [2003-06-18 09:55 UTC] yannl at istop dot com
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;


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-18 11:44 UTC]
Please provide a FULL script, but also short that we can use to reproduce it.
 [2003-06-18 12:49 UTC]
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.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 01 02:01:29 2024 UTC