Latency in HTTPD’s response time.
I am running an Apache web server on a CentOS 3.1 box, and there seems to be intermittent latencies from the time a browser or wget/curl sends the HTTP request and gets a response. The delay can be for up to three seconds. The box is a private web/mail server, and I am the only real user. (set it up for testing/learning purposes) The server is serving up mostly static content (and the main page is purely static) The hardware is as follows
D-Link 530TX+ NIC
The server is in my Smoothwall’s (smoothwall.org) DMZ with ports 80, 443, 25, 143 forwarded to the server, and I use Road Runner for my internet connection.
Any ideas on how I can tune the system for consistent fast response times would be greatly appreciated.
PS – I don’t seem to be encountering the delays when I connect to the box via my local LAN. Is it possible that apache is dooing a reverse lookup on connections and this is a DNS latency?