|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-06-04 00:38 UTC] stas at cvs dot php dot net
[2000-06-04 15:27 UTC] d dot rethans at jdimedia dot nl
[2000-07-04 16:00 UTC] stas at cvs dot php dot net
[2000-07-04 16:52 UTC] d dot rethans at jdimedia dot nl
[2000-07-04 17:38 UTC] stas at cvs dot php dot net
[2000-07-04 18:22 UTC] stas at cvs dot php dot net
[2000-07-04 18:53 UTC] stas at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 19:00:01 2025 UTC |
The followings script describes a simple loop which never ends: <?php do { printf ("test"); flush(); } while (1==1); ?> so i must hit the stop button in my browser to end this script. Unfortunately, it seems that these processes never stop. I've now ended up with a load average of 23.32 and 25 apache processes. After a very long time (30 mins) the most of these processes are gone, but some (1-8) still don't end. Configure command: (same as with php3.0.12) './configure' '--with-apache=/dat/APACHE-PHP4/apache_1.3.12' '--with-gd' '--with-ttf' '--with-mysql' '--with-pdflib' '--with-config-file-path=/etc/httpd' '--enable-track-vars' '--enable-magiq-quotes' '--enable-memory-limit' I tried the same with php-3.0.12, and no problemos. Then I noted the option: ignore_user_abort. It seems that in php3.0.12 it defaults to off, en with php4.0.0 to on. Turning that option on in php.ini solved the whole thing. Then tried this in php 3.0.12: I set the option ignore_user_abort to "on" in php3.ini; and I reloaded my little script. As soon as I pushed the "stop" button in the browser, the httpd proces shut down. I think this is a bug. If you require more information, feel free to contact me. Derick Rethans