Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-08-2005, 12:22 PM   #1
LQ Newbie
Registered: May 2004
Distribution: Gentoo (main box, mythtv and laptop)
Posts: 14

Rep: Reputation: 0
Unhappy Slow web server response for net IP, fast for

Googled around quite a bit on this one, but no luck so far.

I'm installing a wiki (MoinMoin) on a Red Hat 9 server, and all has gone well, so far. I tested the install locally by visiting and it was working correctly, and had good response time.

Then I connected (again locally), but used its network IP address, and suddenly the response time was awful. The pages eventually come up, but it takes 15-30 seconds on a LAN connection.

I've checked my iptables and routing tables, and everything looks fine. All other services are snappy. I've run the same site on both Apache and Twisted (a python webserver), and I experience the same delays when accessing using the network IP, and they are both fast when using localhost or

I was running python 2.2 (Red Hat 9 default), but upgraded to python 2.3 thinking that was the problem. Same results after restarting the server.

I'm thinking it's a timeout of some kind inside the MoinMoin script, but it hasn't been reported anywhere I can find, so I'm thinking it's a problem caused by a misconfiguration somewhere.

The log files are reporting that pages are served, but aren't providing any details on whatever is holding up the server.

Any ideas?
Old 03-09-2005, 09:43 AM   #2
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
First thing I would check is DNS. Set up your logging in your webserver to no do LookUps.

Other DNS tricks, in your nsswitch.conf file, make sure that it looks up IP -> DNS name in files first, followed by DNS. Then in your /etc/hosts, make sure you have the name of the computer that you call the page by as well as it's corresponding IP.


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
Slow response from MySQL on other server sarmadys Linux - Networking 3 11-03-2005 11:12 AM
Why is my Web Server So Slow? carlosinfl Linux - Networking 3 10-28-2005 07:58 AM
apache slow, only fast when i check "Use a proxy server.... sabre81 Linux - Networking 1 08-05-2005 07:41 AM
nfs / nis problem - slow copy to servermounts but fast from server to local hdd krischeu Linux - Networking 1 06-09-2005 11:05 AM No response received -- 1000ms pudhiyavan General 1 12-08-2004 03:26 PM

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

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