Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: CPU Spiked at 200%
PostPosted: Tue Jul 23, 2013 5:46 pm 
Offline
Newbie

Joined: Tue Jul 23, 2013 5:39 pm
Posts: 3
Hello, I have WP sites on Basic Plan, running in Nginx, PHPCGI, MySQL. And I just activated the Longview feature. I noticed that there was a 200% CPU spike in my graph for label "user", while the "system" has 7%. What am I supposed to do?

Note: These sites are new, little visitors, 40 hits a day.

Thanks.


Top
   
 Post subject: Re: CPU Spiked at 200%
PostPosted: Tue Jul 23, 2013 5:56 pm 
Offline
Senior Member
User avatar

Joined: Thu Jun 16, 2011 8:24 am
Posts: 412
Location: Cyberspace
Log in to your Linode and use the command "top". That will provide a process table that will update every few seconds. You can see there what processes are using the most RAM and CPU.

If it's Longview itself (remember, it's still in beta), you can report it in the Current Betas forum.

If it's something else, report it here (or start a thread specific to whatever it is).

_________________
Kris the Piki Geeker


Top
   
 Post subject: Re: CPU Spiked at 200%
PostPosted: Tue Jul 23, 2013 6:10 pm 
Offline
Newbie

Joined: Tue Jul 23, 2013 5:39 pm
Posts: 3
Ok, I did zoom the graph(just noticed) and here's the top process of that current selecton:
Image

This only happened once.


Top
   
 Post subject: Re: CPU Spiked at 200%
PostPosted: Tue Jul 23, 2013 6:25 pm 
Offline
Senior Member
User avatar

Joined: Thu Jun 16, 2011 8:24 am
Posts: 412
Location: Cyberspace
Yikes! PHP shouldn't need that much RAM or CPU.

Have you tried PHP-FPM? From what I've read, it seems much more reliable than using PHP-CGI, something personal experience confirms. It should do the same basic job as PHP-CGI, and the changes (if any) to your Nginx config should be fairly minimal.

_________________
Kris the Piki Geeker


Top
   
 Post subject: Re: CPU Spiked at 200%
PostPosted: Tue Jul 23, 2013 7:33 pm 
Offline
Newbie

Joined: Tue Jul 23, 2013 5:39 pm
Posts: 3
Haha!

Thank you for the tip!

Managed to switch to PHP-FPM and works great + lesser memory.

Thanks!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group