Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199807

Re: [PHP3] PHP3/Apache/NT problem From: Leo West (lwest <email protected>)
Date: 07/31/98

> > usually the "access denied" situation occurs when a process has

It may be that a process PHP that is launched by a HTTP may only be killed by HTTP itself
?

But in fact stopping Apache service doesn't kills the PHP process at all :(

So it sounds like a Apache/IIS bad handle of child process (CGI, PHP...) in a certain case
: When a HTTPclient would break a connection, Apache would "forget" the PHP process and
let it alive.

I released a "kindof" test:

I wrote the simplest infinite looping PHP script ( below ). I broke the transfer by
pressing "stop" on my UA.
This reproduced the same problem : php became a "zombie" process.
Having a look at Apache server status:

the 'W' in column 4 indicate that the thread is stuck in 'Sending Reply' status.
this is not possible ( 123 seconds after the request!) => may indicate a abnormal
termination.

Srv PID Acc M SS Req Conn Child Slot ...
13 0 0/0/0 W 123 0 0.0 0.00 0.00 ...

php script:

<?

        while( 1 == 1 ) {
                echo "test ";
                usleep(10);
        }

?>

Now, what remains to do is to ask the Apache / NT team about that...

-- 
____________________________________________________________

Leo West lwest <email protected> Developpement Base de donnees / Web IMAGINET DESIGN ____________________________________________________________

-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3