Date: 05/29/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #4597 Updated: GetImageSize fails under certain gif's"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #4661 Updated: Class variable corruption"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Not sure if this is a bug or not but here goes.
I'm developing a streaming application, using PHP4.0.0 and Apache
1.3.12.
Java applets connect to the server and request data which is created on
the server via a
while (true) {
}
loop.
Unfortunetly, if the client dies, the Apache process on the server
doesn't. It still thinks the applet is still around, so hogging
resources.
Successive requests just build up the number of Apache child processes
until the "Max connections" in httpd.conf are exhausted.
I'm not 100% certain the while loop is still executing after the applet
disconnects, because "mysqladmin extended-status" reports that only one
MySQL thread is executing (the mysqladmin command I presume), although
there are the correct number of threads connected from Apache. (one per
process)
Is this a known effect of running an infinite while loop? I'll have to
put in a longish timeout if so..
Donncha.
-- 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>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #4597 Updated: GetImageSize fails under certain gif's"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #4661 Updated: Class variable corruption"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

