From:             floeff at arcor dot de
Operating system: Linux 2.4.26
PHP version:      4.3.6
PHP Bug Type:     Reproducible crash
Bug description:  resource limits do not work

Description:
------------
Maybe I misunderstand something, but for me it seems that the resource
limits do not work. In my php.ini, I set

max_execution_time = 10
max_input_time = 10

which - to my understanding - should limit executing time for scripts to
10 seconds.

I have PHP running as CGI with Apache 2.0.49 on Linux 2.4.26 here, and
with a hughe PHP file involving some diagram creation, I can kill the
machine if I re-load the script for five seconds continuously. It soaks up
all my memory and runs for nearly a minute.

What could be wrong in here? If you need more information, please let me
know. Thanks!



-- 
Edit bug report at http://bugs.php.net/?id=28065&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28065&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28065&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28065&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28065&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28065&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28065&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28065&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28065&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28065&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28065&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28065&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28065&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28065&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28065&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28065&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28065&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28065&r=float

Reply via email to