Re: Hanging process

From: Date: Mon, 15 Jan 2001 23:53:37 +0000
Subject: Re: Hanging process
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-44189@lists.php.net to get a copy of this message
hi, there are several things i can think of - in the order of probability to happen: - you use built in mysql client lib and your ext uses something linked to the /usr/local/mysql/lib/libmysqlclient.so - your child execs something and waits for pid, output, etc - there is some mess with memory or something and behavior is hazardous b. ----- Original Message ----- From: "Bill McCaffrey" <webmaster@dohring.com> To: <php-dev@lists.php.net> Sent: Monday, January 15, 2001 8:36 PM Subject: [PHP-DEV] Hanging process > I am writing a module for php, every so often an apache process will hang > when it reaches MaxRequestsPerChild. It grabs all available cpu time, yet > server-status reports no additional usage. I have removed the PHP_MSHUTDOWN > function from my code in case I was making a hash out of something > inadvertently, yet this has not helped. > > It is only occurring 1 in 20 times (approximately) apache tries to close a > process. > > I am new to development on Linux and do not know all the tools available, is > there some way that I can find out what this process is doing or at least if > the loop is in apache, php or my code so I can trace it back? > > Thanks, > > Bill > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.dev (#44189) next »