[Cherokee] How Many FastCGI Process Does Cherokee Spawn?

2 views
Skip to first unread message

Hello

unread,
Jun 19, 2009, 4:07:36 AM6/19/09
to cher...@lists.octality.com
Is there a setting to set the number of fastcgi processes spawned (namely max-procs)? As far as I can tell the standard procedure is max-procs * (PHP_FCGI_CHILDREN+1) but I haven't experimented with this. Does PHP_FCGI_CHILDREN refer to threads per process so is that the formula for total threads? Is it possible to monitor this performance?

Alvaro Lopez Ortega

unread,
Jun 19, 2009, 2:12:22 PM6/19/09
to Hello, cher...@lists.octality.com


php-cgi spawns PHP_FCGI_CHILDREN child processes, and each one of them
can handle a connection at a time.

If you increase the PHP_FCGI_CHILDREN value, the server will be able
to handle more concurrent clients. The downside is that each php-cgi
child process uses quite some RAM memory.. so you'll have to find the
right value for your environment and traffic type.

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
Cher...@lists.octality.com
http://lists.octality.com/listinfo/cherokee

Reply all
Reply to author
Forward
0 new messages