Current time: 11-25-2024, 06:35 PM Hello There, Guest! (LoginRegister)


Post Reply 
PHP_FCGI_CHILDREN bug?
Author Message
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #1
PHP_FCGI_CHILDREN bug?
It looks like there is a bug in PHP where it doesn't always cleanup the php-cgi processes when you use PHP_FCGI_CHILDREN in the php5-fcgi-starter.

I've noticed this where i'd have many more processes running for a site than the PHP_FCGI_CHILDREN specified. Restarting apache wouldn't even clean them up, I'd have to kill -9 them.

I commented out these lines and did some tweaks to the global configuration in the fcgid_ispcp.conf and its working much better.

Should we keep these settings in the starter script for any real reason, so should they not be default, since there are known issues with PHP?

Just thought I'd throw that out there...

Here is my current fcgid_ispcp.conf for reference

Code:
<IfModule mod_fcgid.c>
  AddHandler fcgid-script .php .php5

  IPCConnectTimeout 90
  IdleTimeout 300
  IdleScanInterval 120
  ProcessLifeTime 900
  MaxProcessCount 200
  DefaultMinClassProcessCount 1
  DefaultMaxClassProcessCount 5
  IPCCommTimeout 300
  BusyTimeout 300
  BusyScanInterval 120
  ErrorScanInterval 3
  MaxRequestsPerProcess 500
  ZombieScanInterval 3

</IfModule>

One of my sites is getting about 1-2million page "hits" per day (reported by awstats), and this seems to be holding up fine.

Thoughts?

-
pGentoo
02-03-2009 07:36 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
PHP_FCGI_CHILDREN bug? - pgentoo - 02-03-2009 07:36 AM
RE: PHP_FCGI_CHILDREN bug? - Lucan - 02-03-2009, 07:55 AM
RE: PHP_FCGI_CHILDREN bug? - pgentoo - 02-03-2009, 08:08 AM
RE: PHP_FCGI_CHILDREN bug? - pgentoo - 02-10-2009, 11:52 PM
RE: PHP_FCGI_CHILDREN bug? - Keirnan - 02-11-2009, 01:36 AM
RE: PHP_FCGI_CHILDREN bug? - pgentoo - 02-11-2009, 02:00 AM
RE: PHP_FCGI_CHILDREN bug? - Keirnan - 02-11-2009, 05:11 AM
RE: PHP_FCGI_CHILDREN bug? - Keirnan - 02-11-2009, 09:53 AM
RE: PHP_FCGI_CHILDREN bug? - pgentoo - 02-11-2009, 02:02 PM
RE: PHP_FCGI_CHILDREN bug? - simple - 02-12-2009, 10:02 AM
RE: PHP_FCGI_CHILDREN bug? - pgentoo - 02-12-2009, 01:44 PM
RE: PHP_FCGI_CHILDREN bug? - simple - 02-12-2009, 07:46 PM
RE: PHP_FCGI_CHILDREN bug? - BeNe - 02-12-2009, 09:02 PM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)