[PHP-DEV] Bug #593: run away children w/libphp3.so enabled From: teknix <email protected>
Date: 07/29/98

From: teknix <email protected>
Operating system: Solaris 2.6 x86
PHP version: 3.0.2a
PHP Bug Type: Performance problem
Bug description:
configure line:

./configure --with-shared-apache=../apache_1.3.1 --with-mysql --with-gd --with-zlib --enable-track-vars --enable-magic-quotes --enable-force-cgi-redirect

system:

recent 2.6 x86 recommended patches installed, using egcs pentium compiler 1.0.3a, tried compiling with and without optimizations (-O6 -mpentium)

problem:

the module compiles fine. Apache 1.3.1 starts fine. Within 20 minutes of starting the server, there will be between 50-90 child processes running (they increase steadily as time goes by). If I comment out the php3 module lines in the httpd.conf and restart, the server runs at its normal 25-30 child processes (even under heavy load after a couple of days).

This problem did not exist when I was running 1.3.0 and php 3.0 (compiled with same compiler listed above, with optimizations). In any event, I have to keep the php3 module commented out to keep from eventually running out of swap space.