Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

That said, a webserver like Nginx (http://nginx.net/) 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

 
discard

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.