Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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've just begun running some tests on our application system using JMeter. We are currently running a three-server setup. Requests go to a load balancer, which sends it to one of two apache servers (Ubuntu). Each of those servers has a link to a single database server running MySQL.

Here is my question: As I run tests with 100 requests or so at a time, my two application code servers peak at about 35% CPU usage and my database sits calmly at 0.3%. What could be causing such a high usage on the application servers?

I'm BRAND new to server admin

share|improve this question
up vote 2 down vote accepted

In short... your application is doing too much heavy lifting. There are a HUGE number of reasons why this could be... and even more ways to try & debug it. Unfortunately, there is not 1 universal tool for finding the saggy bits. Most of the tools for doing this are platform specific... (not just OS specific, but language & framework specific) Some are better than others.

A quick & dirty way of trying to find the saggy bits in the application... are to put in a couple of time checks & measure how much processing time is dedicated to various components in your code. Once you know what bits eat up the most amounts of time... refactor, cleanup, optimize, etc... until it's running as smooth as you can make it... and start the process over.

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.