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.

Been using Pingdom to track the response time of some of my sites. A couple are using Apache, and a couple are using lighttpd. The response times for domains on lighttpd are hovering around 1300-1700ms. The only configurations I have loaded are vhosts and fastcgi (for php).

The box is a 1.7GHz Celeron with 2GB of RAM (fairly maxed, unfortunately).

Is there any way to lower the response time?

EDIT: Response time for Apache seems to be in the range of 2-3000ms. Fairly consistently in that range.

EDIT 2: After checking Pingdom again, the response times for Lighttpd over the past 7 days are 2957ms, and Apache is 1384ms. This seems very backwards to me.

share|improve this question
    
Are you using gzip compression already? –  user1797 May 11 '09 at 15:06
    
What would gzip compression get me for response time? –  Glen Solsberry May 11 '09 at 15:08
    
My 2c: I don't think gzip would boost response time. –  Justin May 11 '09 at 15:10
1  
You give the response times for lighttpd, but not for Apache. Seems like relevant information. –  ceejayoz May 11 '09 at 15:48

1 Answer 1

up vote 2 down vote accepted

I don't think there is simple answer to this, but there are several configuration changes you can try:

  1. Disabling the TCP options
  2. Enable stat caching - server.stat-cache-engine
  3. Recompile to disable support for large files
  4. See if your box supports the sendfile() network handler, which serves files faster by pushing them directly to the network card

I picked these as the most likely (IMHO) to boost response time from the tuning guide from lighttpd: [http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:Performance]

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.