Results 1 to 8 of 8
-
14th May 2011, 10:23 AM #1OPMember
[help] PHP-CGI high server load
I am getting high server loads and the reason is the php-cgi. It has multiple processes and consuming more than 80% of CPU power. It just appears random. Sometime CPU load is just normal under 1% per minute and stays that way for hours but sometime it is above 3% per minute. I just have wordpress installed and suphp as php handler.
screen:-
http://prntscr.com/1vgdw
http://prntscr.com/1vgfq
Also mysql process is consuming more than 300mb of memory:-
http://prntscr.com/1vgn0
is it normal?damnyou Reviewed by damnyou on . [help] PHP-CGI high server load I am getting high server loads and the reason is the php-cgi. It has multiple processes and consuming more than 80% of CPU power. It just appears random. Sometime CPU load is just normal under 1% per minute and stays that way for hours but sometime it is above 3% per minute. I just have wordpress installed and suphp as php handler. screen:- http://prntscr.com/1vgdw http://prntscr.com/1vgfq Also mysql process is consuming more than 300mb of memory:- http://prntscr.com/1vgn0 is Rating: 5
-
14th May 2011, 02:12 PM #2Respected Member
Couple of things to start. Just run these on your ssh console.
PHP Code:mysqladmin -u root -ptmppassword -i 1 processlist
cat /proc/3476/cmdline
-
14th May 2011, 02:15 PM #3BannedWebsite's:
CuraShare.Net CuraShare.Me CuraShare.Info
-
14th May 2011, 02:16 PM #4Member
What is your CPU?
# cat /proc/cpuinfo | grep model
Did you optimize VPS and its services?KnownSRV.com - Quality comes at a price, and we provide it at affordable prices.
PayPal, Skrill(MoneyBookers), Payza(AlertPay), 2CheckOut and LibertyReserve accepted!
-
14th May 2011, 02:34 PM #5MemberWebsite's:
oneddl.eu nfomation.net linksafe.meDepends on the size of the site you are running, but I found the issue with running wordpress and in particular the Google Sitemaps XML plugin, is it takes up alot of cpu/memory when it rebuilds the sitemap. In fact, so much so that I actually had to stop it regenerating when a post was published. Instead I setup a crontab to have it run every hour. But if you don't have this plugin installed, I suggest you look at what ones you do have enabled as it is probably one of them.
But my main question is why you aren't using php-fpm to handle php? Its far superior to any other php handler I've used. And before you ask, I have used simple php5-cgi in the past.
-
14th May 2011, 02:39 PM #6Respected Member
-
15th May 2011, 08:04 AM #7OPMember
@ Lock Down
Thanks for the commands, I'll you the same when my internet connection is restored fully.
@ Krun!x
(4 cell plan) 1 CORE X3470 @ 2.93GHz from http://www.balticservers.com/vps-vir...rivate-servers. No I didn't optimize the VPS as I dont know how to and it will be very appreciating if you tell me something about that.
@ okone
site map generator is not yet installed as i just reloaded my wordpress installation and I have to install it again.
I dont know how to install php-fpm in kloxo apache and it will be very appreciating if you tell me how to.
BTW I got this guide to configure php handler to pass through php-fpm but can anybody please explain "The PHP Handler" step their, what is site's VirtualHost container? Where is it located?
http://www.hosting.com/support/linux...to-use-php-fpm
-
15th May 2011, 02:39 PM #8Respected Member
These are what they call virtual host containers.
<VirtualHost localhost>
ServerName localhost
ServerAlias *.localhost
DocumentRoot /Users/robertcamner/Sites
</VirtualHost>
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
VPS Causing High Server Load
By zinc in forum Hosting DiscussionReplies: 18Last Post: 13th Oct 2012, 11:13 PM -
Extremly high server load
By First-Dragon in forum Technical Help Desk SupportReplies: 17Last Post: 6th Sep 2012, 03:54 PM -
I need help with server, high load
By First-Dragon in forum Server ManagementReplies: 4Last Post: 22nd Jun 2012, 09:37 PM -
Server load high - VPS
By GoPantheoN in forum Server ManagementReplies: 31Last Post: 4th Oct 2011, 05:11 AM -
high load of vb-mysql on my server
By Ruler in forum Server ManagementReplies: 2Last Post: 19th Jun 2009, 07:07 PM
themaManager - edit and manage...
Version 4.18 released. Open older version (or...