I'm running Lighttpd on 256MB RAM VPS (with low estimated traffic).
In order to optimize my server performances I decided to change these settings:
"PHP_FCGI_CHILDREN" => "1",
"PHP_FCGI_MAX_REQUESTS" => "20"
The reason why I set 1 child is that with setting there are 4 php_cgi processes:
2413 11336 /usr/bin/php-cgi 2415 4592 /usr/bin/php-cgi 2417 11336 /usr/bin/php-cgi 2419 27656 /usr/bin/php-cgi
If I set 4 I get >8 children. I'm wondering why and if this is ok. Now my webserver is very fast, because I finally don't rely on swapping so massively as before.
thanks