Why server taking so much time? Or is it a network delay?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Why server taking so much time? Or is it a network delay?
Hi,
I am running apache on a Red Hat ES3 server which is connected to a LAN. Though there is no network congestion on the LAN it takes about half a minute for each request from a client. A tethereal snapshot is as follows..
nice to see someone come armed with a tcp capture for once...
where is this capture actually from? the client? have you tried comparing it to the capture on the server? often you could get network level issues with arp requests failing or dns issues, but as this is a pause in a single established connection i can't think of any good reason to really think the network itself is at fault. what about the cpu load on the server maybe? swapping to disk obscenely high volumes of data? unlikely to be relevant really, but obviosuly you'd never expect such a delay. i'd explore this at apache level myself (after checking a tcpdump on the server side. what if you try to connect to the server from the server itself with wget or something...? also have you tried all levels of http client, from firefox to curl / wget? checked your apache logs?
what are you capturing with the command? just port 80? try expanding it to absolutely all ip packets, *could* be wanting a reverse lookup, but i didn't think apache did that....
cool. again another case of teh poor poor network being blamed for a server misconfiguration. i seem to spend half my working life defending my network and doing other peoples jobs to prove it's the servers fault...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.