Apache 2 static file serving performance
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Web Servers General Talk > Apache 2 static file serving performance




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

count_zer0 is offline     Apache 2 static file serving performance  
count_zer0


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for count_zer0 Click here to Send count_zer0 a Private Message Find more posts by count_zer0 Add count_zer0 to your buddy list
 
01-16-06 01:04 PM

I am running an Apache 2 webserver on a
Pentium 4 2.8GHz with 2GB RAM. The function of the webserver is as a tag ser
ver i.e. it is serving a 1x1 pixel GIF and logging these requests. The size 
of the image is 43 bytes, the total size of a request is typically 500 bytes
. The machine is serving 1 million requests per day. 

I am have performance monitoring software checking the request times, and du
ring peak times (lunchtime, early evenings), these are very slow - between 2
 and 20 seconds to serve this GIF.

1. Based on the above spec. machine, is this a poor performance? I thought A
pache was capable of much higher performance.

2. Is there a way of tweaking the Apache settings to improve the response ti
mes?

Any help would be greatly appreciated.




[ Post a follow-up to this message ]



count_zer0 is offline     Re: Apache 2 static file serving performance  
count_zer0


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for count_zer0 Click here to Send count_zer0 a Private Message Find more posts by count_zer0 Add count_zer0 to your buddy list
 
02-06-06 10:00 AM

A follow-up to this post:

The solution was to enable mod-status on the web server. This revealed that 
the connections were being hogged by keep-alives and processes remaining fro
m gracefully restarting. This was causing new requests to be queued up. Redu
cing the KeepAliveTimeout, increasing MaxClients and restarting the server (
by stopping and starting it) solved the problem - response time went from 20
 seconds to 0.2 seconds.




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:18 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register