PHP 4.0 Bug #8709: endless loop trying to chdir
| From: | thierry at skynet dot be | Date: | Mon, 15 Jan 2001 13:24:45 +0000 |
| Subject: | PHP 4.0 Bug #8709: endless loop trying to chdir | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44113@lists.php.net to get a copy of this message | ||
From: thierry@skynet.be
Operating system: Solaris 2.7
PHP version: 4.0.3pl1
PHP Bug Type: Apache related
Bug description: endless loop trying to chdir
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'
--
Edit Bug report at: http://bugs.php.net/?id=8709&edit=1