![]() |
vu2005 php5-cgi - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: vu2005 php5-cgi (/thread-9132.html) |
vu2005 php5-cgi - legion726 - 01-09-2010 01:44 AM Everyone Welcome Comp Server: AMD Athlon 64 Processor 3200+ RAM: 1GB Debian 5, ispCP Omega 1.0.3-1 Worth 7 sites, and has a 1 GB is free 20-40MB of RAM Quote:top - 17:41:59 up 4:40, 1 user, load average: 1.80, 1.11, 0.86 What to do, how to clean the memory? P.S: Sorry do not know much English RE: vu2005 php5-cgi - motokochan - 01-09-2010 02:23 AM Clean? What do you mean? It looks like a busy server with enough memory to keep the swap from being used a lot. That looks fine to me. RE: vu2005 php5-cgi - legion726 - 01-09-2010 02:30 AM I was leading a little to reduce the load on the server. At servake is current ISPCP Debian 5 x64 RE: vu2005 php5-cgi - kilburn - 01-09-2010 02:46 AM Do you use fastcgi or fcgid? RE: vu2005 php5-cgi - legion726 - 01-09-2010 02:56 AM No, everything is by default after the installation as ispcp I do not even know why you need it ![]() The main thing that would work sites RE: vu2005 php5-cgi - pgentoo - 01-09-2010 07:28 AM This is a lot of php5-cgi processes for one site (vu20005). Unless you did this on purpose because that site is under heavy load, i'd trim it down. I believe the default settings in php5-fcgi-starter script cause issues which may be what you are seeing. I found with the default settings many more php5 processes would be started, and a lot of times they woudl not be shutdown on an apache restart (like they should). I proceeded to modify my starter script as follows, and haven't had any issues since (several months back). There are a few threads on this same issue if you search for "php5-fcgi-starter" in the forum. I believe the finding was that php.net recommends against using php's "child process management" and using fastcgi/fcgid's built in support instead. Example (see commented out lines): Code: #!/bin/sh Give this a try and see how it works for you. As i noted, you may need to stop apache, kill left over php5-cgi processes, then start apache so orphaned processes aren't left behind after the config change. - pgentoo RE: vu2005 php5-cgi - just_hoster - 01-20-2010 10:06 PM i have the same problem... cgi and mysql uses about 60% cpu.... any idea? |