Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a linux server box that runs the following stack:

  1. apache 2.2.9
  2. passenger 2.2.8
  3. rails 2.3.8
  4. MySQL 5.1

Recently we've encountered some machine performance issues, where the entire server became extremely slow (for web requests, db queries, file access, etc) to unresponsive at times, then returned to function normally.

We can tell the days and time-ranges when this happened, and we'd like to investigate further before running off and buying a new machine. The server runs on a small company intranet with no more than a couple of dozen requests per minute, and the hardware is reasonable (3 GHz core 2 duo processor, 8G RAM, 2 years old).

I was thinking to look into some logs around those dates to see if there was heavy traffic, machine load or excessive DB activity around those times. Any recommendations on how to investigate this issue and where to focus my efforts? thanks.

share|improve this question
up vote 1 down vote accepted

There is an article which we published online at: which could give you some hints.

Would recommend checking that out as a starting point.

share|improve this answer

I'd go for collectd and collectd-web as the WebGUI if you need one, Kcollectd if you don't need "realtime" capabilities.

share|improve this answer
I don't know, I find collectd-web unusable as of this time of writing. I prefer the bundled collection3 where it's so easy to select graphs you need. – syaz Aug 24 '11 at 10:09

Add a monitoring system like Monit to know what happen on your server. There are a lot of monitoring capabilities.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.