LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-29-2005, 07:23 PM   #1
aenright
Member
 
Registered: May 2005
Location: San Antonio, TX
Distribution: CentOS/Fedora/RHEL/FreeBSD/HPUX/Solaris
Posts: 46

Rep: Reputation: 16
Latency in HTTPD’s response time.


Hello,
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
P3 733
384MB PC-100
40GB IDE
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?

Thx,
Art.
 
Old 05-29-2005, 08:42 PM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Re: Latency in HTTPD’s response time.

Quote:
Originally posted by aenright
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?
yeah, it sounds like that could be it... try disabling the lookups and see...

http://httpd.apache.org/docs-2.0/mod...ostnamelookups

 
Old 05-31-2005, 07:07 AM   #3
aenright
Member
 
Registered: May 2005
Location: San Antonio, TX
Distribution: CentOS/Fedora/RHEL/FreeBSD/HPUX/Solaris
Posts: 46

Original Poster
Rep: Reputation: 16
Looks like thats what it was. Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP Issues, very slow response time! dermotti Linux - Networking 4 04-01-2005 09:39 PM
Slowdown in pc response time dregoma Linux - Newbie 1 02-11-2004 01:19 PM
time out while wating for response from smtp server robmainella Linux - Software 0 09-07-2003 08:22 PM
Keyboard response time niyaah Linux - Newbie 0 10-13-2002 09:20 PM
modem to cpu response time to slow? johncla Linux - General 1 05-07-2002 06:27 AM


All times are GMT -5. The time now is 04:04 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration