
Originally Posted by
gswahhab
i am running phpsuexec
Are you certain that you are running phpsuexec?
This is very often commonly confused with SuPHP but if you are indeed actually running phpsuexec then I would advice that you change over to either SuPHP or FCGI as phpsuexec is quite ancient and very insecure.
Code:
# /usr/local/cpanel/bin/rebuild_phpconf --current | grep "PHP5"
vps, have 1gb ram 3 cores about 30 sites only a few are active. the one that is
Well there is why you are crashing! 30 sites on a 1 GB VPS? Eeww!
(Disregarding the cynicism though well warranted, I might be able to help you determine what scripts, sites, and processes are most impacting your resources and bringing your server down)
most active is the one that keeps crashing the site. my host suggested i switch to fastcgi as well but i am not sure what effect it would have and if it would screw everything up b/c of file permissions. i dont believe i have mpm but wouldnt know how to check either
Yes, FastCGI would be infinitely better! Permissions can remain the same between phpsuexec (cgi w/ suexec), SuPHP (suphp), and FastCGI (fcgi). You only run into permission changing problems if you are changing between Apache module (dso) and anything else.
Regarding "mpm", if you have one enabled, it is likely "prefork" ---
Code:
# httpd -l | grep "prefork\|worker"
If you see "worker.c" or "prefork.c" returned from the above command then you do have an mpm module enabled though that does not necessarily mean that it is properly configured or optimized though.