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'd like to ask advice how to find a bottleneck in the follow stack:

Debian (Debian GNU/Linux 6.0) + Apache + mod_fcgi/FastCGI + my+application

The web server is used for images only.

I need a check list to go over and figure out answer to the question: "Is the server squeezed (means we need an additional) one or it's possible to optimize further?"

Thank you!

share|improve this question
If you are serving static images, consider Nginx as a reverse proxy in front of Apache - it should greatly improve performance for static files. If it is a PHP application you might get better performance with php-fpm instead of mod_fcgi. – cyberx86 Jul 6 '11 at 18:44

Since you're [fundamentally] serving static content, just time your raw disk I/O with something like bonnie++ (, then figure out what your raw network throughput is. Once you have those numbers, do some load testing with something like Tsung ( to see what sort of impact apache/mod_fcgi has.

That said, a webserver like Nginx ( might out perform Apache for your use case. It has a smaller memory footprint (more can run concurrently), and serving static content's one of its stronger points.

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.