Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
I am having a problem with my Redhat 7.3 server.
I have it setup running an FTP server, and Apache, which is serving a few websites.
It's been running great for almost a year, but recently it's started having REALLY slow initial connection delays.
If you go to www.jaggedpath.com (for example, that's one of the hosted sites), the first time you go to the URL, it takes forever to start loading the page information. Once it loads the first time, other parts of the same site load ok.
FTP is the same. You'll try to FTP to any account (anonymous or otherwise), it will connect, then you will wait for a long time before being presented with the login / password prompts.
But once logged in, it's fast.
I've talked to my ISP about a possible reverse DNS problem, they swear up and down that their DNS is just fine.
The interesting thing is, if I was to put your IP into the /etc/hosts file, the initial connect is instant. No delay at all.
Any help GREATLY appreciated!
I'm going nuts here.
How busy is this server? Can you try to run apache in debugging mode and get a strace or ltrace dump, or alternatively attach gdb to it at that point and get a stacktrace, from the worker process while it does this?
Would it be an Apache problem though since Telnet and FTP initial connections are also effected?
It seems any route of connecting to the server (wit hthe exception of VNC) has an initial connection delay, then it works ok until you try to make another connection later.
Have you checked that you network interfaces are running in 100mb full duplex?? If you are behind a switch its possible that it have changed the speed prefs to half duplex, if you havent set it hard in /etc/modules.conf?? Mostley you get this slow connections as result.
Thanks guys.
The server isn't under all that much load.
The most I've sen it go to was 24% idle, and that was just for a split second.
Most of the time it's jumping around 99% to 90% idle.
The NIC is set to full duplex 100bt
It's strange, because as soon as the initial connection is made (After the first delay), it's fast as normal.
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it. subscribe
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe