ispCP - Board - Support
FCGI Warning -> process: reached dynamicMaxClassProcs - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: FCGI Warning -> process: reached dynamicMaxClassProcs (/thread-3687.html)



FCGI Warning -> process: reached dynamicMaxClassProcs - sowosammerneger - 07-04-2008 08:15 PM

Hi,

found a whole error.log filled with variations of that:
Code:
[Fri Jul 04 10:59:40 2008] [warn] FastCGI: scheduled the restart of the last (dynamic) server "/var/www/fcgi/adserver.hobbyschneiderin.net/php5-fcgi-starter" process: reached dynamicMaxClassProcs (5)
[Fri Jul 04 10:59:40 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/adserver.hobbyschneiderin.net/php5-fcgi-starter" (uid 2007, gid 2007) restarted (pid 6617)

Why does that happen?
How can I change it?
Searching for "dynamicMaxClassProcs" was dissapointing ... Rolleyes


RE: FCGI Warning -> process: reached dynamicMaxClassProcs - kilburn - 07-05-2008 02:09 AM

From the Apache mod_fastcgi docs:
Quote:-maxClassProcesses n (10)
The maximum number of dynamic FastCGI application instances allowed to run for any one FastCGI application. It must be <= to -maxProcesses (this is not programmatically enforced).
It seems that this is the maximum conocurrent php-cgi processes executed for each domain. Ispcp sets it to "5" in /etc/apache2/mods-enabled/fastcgi_ispcp.conf, but you may change it's value there Smile


RE: FCGI Warning -> process: reached dynamicMaxClassProcs - sowosammerneger - 07-05-2008 05:51 AM

Well, thanks for all the fish. Tongue

Why is it set to only 5?


RE: FCGI Warning -> process: reached dynamicMaxClassProcs - sowosammerneger - 07-08-2008 07:23 PM

So, the error is gone, but I still have a lot warnings like:
Code:
[Tue Jul 08 10:56:01 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/*****/php5-fcgi-starter" (uid **, gid **) restarted (pid 7498)
[Tue Jul 08 10:56:30 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/*****/php5-fcgi-starter" (pid 7498) termination signaled
[Tue Jul 08 10:56:30 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/*****/php5-fcgi-starter" (pid 7498) terminated by calling exit with status '0'

Can we fix that too?


RE: FCGI Warning -> process: reached dynamicMaxClassProcs - kilburn - 07-08-2008 11:51 PM

Those are not errors but warnings. Each fastcgi server has a maximum requests served set in the "/var/www/fcgi/******/php5-fcgi-starter" script.

Quote:Why is it set to only 5?

Defaults can't always match each user's best value, and "5" fastcgi servers (with 2 childs per server) gives a total maximum of 10 concurrent php requests for each domain. For low traffic domains this should be more than enough Wink


RE: FCGI Warning -> process: reached dynamicMaxClassProcs - sowosammerneger - 07-09-2008 08:14 AM

Well and can I stop FastCGI from filling my log files with this warning?
Read in the manual, but I didn't find a switch, could be I am somewhat blind at the moment. :