LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-09-2005, 08:27 AM   #1
aemee
LQ Newbie
 
Registered: Mar 2005
Posts: 13

Rep: Reputation: 0
Unhappy serious very slow network problem - please help!


Hi Guys,

I'm having a very strange serious network problem:

I have an apache webserver running redhat as3 serving http pages.

I have clients running windows and ie6.

The pages are serving up at 1/2kb per second at best, taking 10-15 seconds to load one page on the local lan.

The network cards are 1gbps and so are the switches and every protocol can transfer up to 20mbs per second between machines.

I plug in my laptop which also connects at 1gbps and the slowness occurs.
I plug in my laptop via crossover to the server bypassing the switch and the slowness occurs.
I plug in someone elses laptop and the slowness occurs.
I plug in an extra network card into the server, connect via crossover or switch and the slowness occurs
I have one server on which the pages load instantaneously, connected on the same network and the same speed as the other servers.


I'm thinking maybe there's something wrong with the config of the network stack on the server serving the pages.

The server which doesn't have the problem accessing the webserver maybe has a driver which can cope with the problem or something??

Any help GREATLY appreciated.


Tony
 
Old 05-10-2005, 02:28 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
When slowness like that occurs, it's typically hard drives. As in they are replicating errors across a RAID 1.

Reboot the webserver, then type "dmesg" and "ps aux" and paste the output here. You don't seem like you're clueless, so this should be fixed quite quickly.

Last edited by Thoreau; 05-10-2005 at 02:31 AM.
 
Old 05-10-2005, 03:40 PM   #3
onewave
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Rep: Reputation: 0
do the speeds, duplex, etc., on the NIC cards match the port settings on the switch? most switches set at AUTO SPEED and AUTO NEG will work better for gig speeds

do a traceroute, or better yet, an mtr to the www server from the same subnet and see where the hangup is

also, are you running plain cat5? you need enhanced cat5 or cat6 for full-blown gig speed (but it shouldnt really make much diff on your local lan)
 
Old 05-10-2005, 08:00 PM   #4
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
Along those lines, it could also just be a bad nic spewing out packets. EMF happens.
 
Old 05-10-2005, 08:49 PM   #5
aemee
LQ Newbie
 
Registered: Mar 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Many many thanks guys - this was a real strange one. Here's the problem and the solution:

It occurred that the initial connection to the server is slow for all protocols, but once established everything is fine. As http is connectionless, every gif and web page component is a separate connection to the server which has to be initialised. Ethereal was showing delays and nothing else at fault so I created an ssh tunnel to the box. I tunneled the http pages down it and hey presto everything worked perfectly as the connection was already established to the server. I checked the dns config and it seems the dns was still pointing to an incorrect dns server. I created a dns server in the network and everything is now fine! The reason behind the other server having no problems was that the webserver had it in it's hosts file so didn't need to do a reverse dns lookup.

Again thanks for the responses.

Tony
 
Old 05-11-2005, 12:07 PM   #6
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
"You don't seem like you're clueless, so this should be fixed quite quickly."

I stand corrected. :/
 
  


Reply



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
Network slow Gollum78 Slackware 4 11-23-2005 04:54 PM
Slow, slow KDE with network connected bglad Linux - Software 0 10-27-2004 10:54 AM
Network too slow Tyel Linux - Networking 1 07-23-2004 10:43 AM
Slow network penguinview Linux - Networking 3 09-26-2003 06:43 PM
Slow network problem int2str Linux - Networking 2 11-27-2002 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration