php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #593 run away children w/libphp3.so enabled
Submitted: 1998-07-29 00:07 UTC Modified: 1998-09-02 16:52 UTC
From: teknix at alloy dot net Assigned:
Status: Closed Package: Performance problem
PHP Version: 3.0.2a OS: Solaris 2.6 x86
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
42 + 23 = ?
Subscribe to this entry?

 
 [1998-07-29 00:07 UTC] teknix at alloy dot net
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-09-02 16:52 UTC] zeev
Did you try PHP 3.0.2a with Apache 1.3.0?  3.0 with 1.3.1?
Did you try running PHP as a built-in module instead of a dynamic module?

If you can truss/strace a stuck httpd for us, it may be very useful.

No response from the user.  Dynamic modules might not be
too hot just yet, especially in 'exotic' platforms like
Solaris x86.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 21:01:36 2024 UTC