togbenson Posted November 1, 2007 Share Posted November 1, 2007 While doing some load testing, I found it was not difficult to make my apache2 server running mod_php5 hang. In fact the whole server would come to a crawl (running "ls" in a shell was hanging). Yet the server was only using 200 mb of ram (out of 650). There was no thrashing as far as I could tell. I switched to cgi php and while each php page execution time increased apache can handle much bigger loads. I can even load it up so that it's using 450 mb and it still (albeit slowly) responds to requests. I am confused. I thought mod_php was just better. Thanks, Tog Link to comment https://forums.phpfreaks.com/topic/75648-cgi-php-better-for-apache2-than-mod_php/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.