[PHP-DEV] PHP 4.0 Bug #2848: php ignores max execution time and max memory settings in php.ini From: michael <email protected>
Date: 11/28/99

From: michael <email protected>
Operating system: Linux 2.2.13
PHP version: 4.0 Beta 3
PHP Bug Type: Scripting Engine problem
Bug description: php ignores max execution time and max memory settings in php.ini

Here is an example of php 4 beta 3 allowing a httpd process destroy the machine. This is after about 2 mins when the execution time limit has been set to 60 seconds (shows up in php_info() )

In php3 the script will terminate properly after x seconds

This is happening from a mysql query below.

--Thanks

  1:11am up 17 days, 5:56, 3 users, load average: 8.37, 7.34, 5.46
75 processes: 73 sleeping, 2 running, 0 zombie, 0 stopped
CPU states: 7.6% user, 17.4% system, 0.0% nice, 74.8% idle
Mem: 257844K av, 256624K used, 1220K free, 15760K shrd, 5240K buff
Swap: 72256K av, 70840K used, 1416K free 9656K cached

  PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
 4359 nobody 1 0 219M 168M 216 D 0 0.4 67.0 0:36 httpd

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>