I am in mid phase of replacing apache with lighttpd , I have 600 MB RAM , when apache runs alone it eats 200 MB RAM where as lighttpd eats 550 MB RAM in same conditions
.Site functions faster with lighttpd but during peak hours lighttpd crashes since it goes short of RAM .
below is my main settings of lighttpd , plz tell what changes should i make
PHP Code:
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php-fastcgi.socket",
"bin-path" => "/usr/bin/php-cgi",
"min-procs" => 22,
"max-procs" => 5,
"max-load-per-proc" => 4,
"idle-timeout" => 20
)
)
)
Thanks In Advance.