Do you want to reduce the number of php-cgi processes spawned by Cherokee and you are following online manuals and anything works? Me too.
If you read stuff on the internet they will tell you to modify the value of PHP_FCGI_CHILDREN on you vServer thru the web admin. It doesn't work at all. I have ended up modifiying manually the file vim /etc/cherokee/cherokee.conf and changing this line:
#source!1!env!PHP_FCGI_CHILDREN = 5a # Old line source!1!env!PHP_FCGI_CHILDREN = 3 # New line
Please, note that the modified line IS NOT this one:
vserver!20!rule!50!handler!env!PHP_FCGI_CHILDREN = 5
Then just restart the cherokee daemon and you will only have 3 php-cgi processes.
I've done this because I wanted to reduce the memory footprint of my blog in the VPS. Now PHP takes 100MB instead of 160MB (It is still a lot from my point of view, but well, I have a lot of unused RAM).
vserver!20!rule!50!handler!env!PHP_FCGI_CHILDREN = 3