PHP 4.0 Bug #2848: php ignores max execution time and max memory settings in php.ini
| From: | michael at audiogalaxy dot com | Date: | Sun, 28 Nov 1999 07:17:30 +0000 |
| Subject: | PHP 4.0 Bug #2848: php ignores max execution time and max memory settings in php.ini | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-13197@lists.php.net to get a copy of this message | ||
From: michael@audiogalaxy.com
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