[PHP-DEV] PHP 4.0 Bug #8709 Updated: endless loop trying to chdir From: thierry <email protected>
Date: 01/15/01

ID: 8709
User Update by: thierry <email protected>
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 <email protected>
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

-- 
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>