PHP 4.0 Bug #8709 Updated: endless loop trying to chdir
| From: | thierry at skynet dot be | Date: | Mon, 15 Jan 2001 16:41:32 +0000 |
| Subject: | PHP 4.0 Bug #8709 Updated: endless loop trying to chdir | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44144@lists.php.net to get a copy of this message | ||
ID: 8709
User Update by: thierry@skynet.be
Status: Open
Bug Type: Apache related
Description: endless loop trying to chdir
it seems to be related to output buffering.
The script page.html had a ob_start() line and I have
commented it out and it seems to have stopped
happening.
Hope this helps
Previous Comments:
---------------------------------------------------------------------------
[2001-01-15 08:24:44] thierry@skynet.be
I have several Apache processes that get stuck taking
all the CPU they can.
A truss -p pid the stuck process shows that apache is
performing a chdir("/page.html") system call (all html
files are parsed)
the result is 'Err#2 ENOENT'
This is quite enoying since it makes the machine
eventualy crash with loads of up to 100.
The file is present, but is located on
'/export/web/host.domain.com/www/page.html'
I use Apache 1.3.12 with a compiled in PHP module
and the Zend optimizer for 4.0.3pl1
PHP configure line
'./configure' '--with-apache=/usr/src/apache2'
'--with-sybase-ct=/usr/local/freetds'
'--with-mysql=/usr/local/mysql'
'--with-zlib-dir=/usr/local/lib' '--enable-debug=no'
'--enable-track-vars=yes' '--disable-short-tags'
'--with-xml' '--enable-ftp' '--with-gd=/usr/src/gd-1.8.3'
'--with-jpeg-dir=/usr/src/jpeg-6b' '--with-mcrypt'
'--with-pdflib=/usr/local/lib'
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8709