ispCP - Board - Support
FastCGI: can't schedule the start of another (dynamic) server - 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: FastCGI: can't schedule the start of another (dynamic) server (/thread-2309.html)



FastCGI: can't schedule the start of another (dynamic) server - psygarden - 02-05-2008 10:19 PM

I keep getting these errors in my /var/log/apache2/error.log when some sites are running slow:

Quote:[Tue Feb 05 13:19:06 2008] [warn] FastCGI: can't schedule the start of another (dynamic) server "/var/www/fcgi/psygarden.be/php5-fcgi-starter" process: exceeded dynamicMaxProcs (10)
[Tue Feb 05 13:19:06 2008] [warn] FastCGI: can't schedule the start of another (dynamic) server "/var/www/fcgi/psygarden.be/php5-fcgi-starter" process: exceeded dynamicMaxProcs (10)
[Tue Feb 05 13:19:08 2008] [warn] FastCGI: can't schedule the start of another (dynamic) server "/var/www/fcgi/psygarden.be/php5-fcgi-starter" process: exceeded dynamicMaxProcs (10)
[Tue Feb 05 13:19:09 2008] [warn] FastCGI: can't schedule the start of another (dynamic) server "/var/www/fcgi/psygarden.be/php5-fcgi-starter" process: exceeded dynamicMaxProcs (10)
[Tue Feb 05 13:19:09 2008] [warn] FastCGI: can't schedule the start of another (dynamic) server "/var/www/fcgi/psygarden.be/php5-fcgi-starter" process: exceeded dynamicMaxProcs (10)
[Tue Feb 05 13:19:09 2008] [warn] FastCGI: can't schedule the start of another (dynamic) server "/var/www/fcgi/psygarden.be/php5-fcgi-starter" process: exceeded dynamicMaxProcs (10)
[Tue Feb 05 13:19:09 2008] [warn] FastCGI: can't schedule the start of another (dynamic) server "/var/www/fcgi/psygarden.be/php5-fcgi-starter" process: exceeded dynamicMaxProcs (10)
[Tue Feb 05 13:19:09 2008] [warn]
"/var/www/fcgi/psygarden.be/php5-fcgi-starter" process: exceeded dynamicMaxProcs (10)
[Tue Feb 05 13:19:11 2008] [warn] FastCGI: can't schedule the start of another (dynamic) server "/var/www/fcgi/psygarden.be/php5-fcgi-starter" process: exceeded dynamicMaxProcs (10)
[Tue Feb 05 13:19:12 2008] [warn] FastCGI: can't schedule the start of another (dynamic) server "/var/www/fcgi/psygarden.be/php5-fcgi-starter" process: exceeded dynamicMaxProcs (10)
[/quote]

Where can i increase these settings? what daemon do i need to restart afterwards?


greetings,
Rik


ps. Could this also be the cause for errors i'm getting (500 Internal server error) when my site tries to execute certain big operations?


RE: FastCGI: can't schedule the start of another (dynamic) server - joximu - 02-05-2008 10:42 PM

Hi

have a look at the new fastcgi.conf (/etc/apache2/mods-enabled/fastcgi_ispcp.conf or so)

http://www.isp-control.net/ispcp/browser/trunk/configs/apache/fastcgi.conf

There is a new configuration:

FastCgiConfig -minProcesses 1 ........

Please try this and report again

/J


RE: FastCGI: can't schedule the start of another (dynamic) server - BeNe - 02-05-2008 10:44 PM

Quote:Where can i increase these settings? what daemon do i need to restart afterwards?
Or you can try to increase the
Code:
PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS
in your /var/www/fcgi/psygarden.be/php5-fcgi-starter

But joxi´s solution looks more right...

Quote:Could this also be the cause for errors i'm getting (500 Internal server error) when my site tries to execute certain big operations?
Yes!

Greez BeNe


RE: FastCGI: can't schedule the start of another (dynamic) server - psygarden - 02-06-2008 01:54 AM

the server seems to be running faster and with less problems, are there suggested values you have for a medium-size server?

(4gb ram, dual core +5800 AMD)


RE: FastCGI: can't schedule the start of another (dynamic) server - joximu - 02-06-2008 02:12 AM

The new values in fastcgi...comf have been put into the project by RatS - I don't know exactly where he get them...

There were some discussions about theese values in earlier threads but IMHO not the same...

Maybe you can have a look at the fastcgi doc (http://www.fastcgi.com) and try-and-error AND (!!!) give us feedback so we can put some sample values with comments in the file...

/J