Howdy,

I am looking for clarification on how to set PHP_FCGI_CHILDREN
and PHP_FCGI_MAX_REQUESTS when using PHP-FCGI (local interpreter) with
Cherokee.  I am basing my question on the paragraph from:
http://www.cherokee-project.com/doc/cookbook_php.html under "PHP process
Environment Variables".  I have a single Cherokee instance that hosts many
sites configured as vServers and PHP setup as FCGI using the wizard for PHP
Application (I have not changed the configuration of the handlers or
Information Source beyond the default wizard settings).  I want to optimize
the PHP children/max_requests across all the PHP sites on the server.

I am currently seeing 5 php-cgi children + 1 php-cgi process as the session
leader being spawned.  I would assume the max requests is operating at the
default of 500.  What is the prescribed method of controlling
the PHP_FCGI_xxxx environment variables while running under Cherokee?

Under a single vServer I can go to the Behavior and select the "Extensions
php" that was setup by the PHP Wizard.  From here under the Handler tab I
can add environment variables.  In a server with several vServers would I
need to go in to each one and set those Env Vars?  Since all vServers point
to a single Information Source what is the effect of having these Env Vars
declared separately in each vServer's "Extension PHP" FCGI Handler?

Thank you!
-Dale
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to