View Single Post

  #1 (permalink)  
Old 06-25-2008, 05:53 PM
rootadmin rootadmin is offline
Junior Member
User
 
Join Date: Jun 2008
My distro: centos 5
Posts: 15
Rep Power: 0
rootadmin is on a distinguished road
Arrow Lighttpd eating more RAM than Apache.

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.
Reply With Quote