Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: CPU spikes?
PostPosted: Thu Jun 11, 2009 8:16 am 
Offline

Joined: Thu Jun 11, 2009 8:14 am
Posts: 1
I don't know what's going on with my server but periodically, the server CPU will spike and require a reboot.

I'm running Drupal 6 - which means PHP and mySQL. Postfix/Dovecot is also install, both via webmin.

I'm new to this VPS business, so any help would be appreciated.


Top
   
 Post subject:
PostPosted: Thu Jun 11, 2009 8:40 am 
Offline
Senior Newbie

Joined: Sun May 31, 2009 12:16 pm
Posts: 12
Did you take a look at this thread ?
http://www.linode.com/forums/viewtopic.php?t=4283


Top
   
 Post subject:
PostPosted: Thu Jun 11, 2009 9:00 am 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Most of the time, CPU spikes like that are caused by having too many Apache processes/threads.

MySQL is also a memory hog but it usually won't exceed a certain limit, especially when you use the Debian/Ubuntu default config with the moderately low buffer settings. Apache, on the other hand, tends to get out of hand very easily in its default settings. You need to cut down on the number of processes/threads/max-clients or it will crash your server whenever there's a bit of traffic.

Even better solution:
http://www.lighttpd.net/
http://nginx.org/


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


Who is online

Users browsing this forum: No registered users and 4 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