Lately, I have been hitting the error "Cannot allocate memory: fork: Unable to fork new process" eventhough it appears that I'm only using 120MB out of 640MB of guaranteed RAM. I created a support ticket and they said they can't find any problem because I still have ample amount of memory left. So what could be causing this error? On a daily basis, I get at least a 100 instances of this error. That's at least 100 pageviews gone.
apache prefork
php.ini resource limitCode:<IfModule prefork.c> StartServers 4 MinSpareServers 4 MaxSpareServers 8 ServerLimit 400 MaxClients 400 MaxRequestsPerChild 4000 </IfModule>
Code:max_execution_time = 40 ; Maximum execution time of each script, in seconds max_input_time = 80 ; Maximum amount of time each script may spend parsing request data memory_limit = 64M ; Maximum amount of memory a script may consume


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks