Date: 12/08/98
- Next message: nicophp <email protected>: "[PHP-DEV] Bug #983: Error compiling php 3.0.5 with apache and Oracle"
- Previous message: Arisandy: "[PHP-DEV] Vmailmgr?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: ccurtis <email protected>
Operating system: Solaris 2.4
PHP version: 3.0.5
PHP Bug Type: Other
Bug description: PHP improperly refuses to shut down
I've posted this message at least twice to the general list and haven't recieved any feedback. The problem is that I have a script that sits in an infinite loop. I don't want the script to stop running until the client end closes the connection. This works fine. However, when the client does close, PHP continues to run, eventually exhausting all server resources. Apache properly recieves a SIGPIPE and I initially thought it to be an Apache bug (http://bugs.apache.org/index/full/3467) but have since been told that it is more likely that PHP is not properly checking the results of the write operation. I've looked at the code but don't know enough about the process to determine anything useful. It does not look like PHP is checking return values, though. The script is currently offline due to the problem, but Zeev has a copy of the code, as do about a dozen other people who asked for it.
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: nicophp <email protected>: "[PHP-DEV] Bug #983: Error compiling php 3.0.5 with apache and Oracle"
- Previous message: Arisandy: "[PHP-DEV] Vmailmgr?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

