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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running quite a few redhat 8 servers and sometimes they start to really grind when asked for a TCP/IP connection. I have a mysql server and it takes 30 seconds to connect to it.
I've turned IPTables off, but in any event it had no packet matching enabled, so it shouldn't have affected it.
When I run netstat, it sits there for about 30 - 60 seconds and then spits all of the information out in one go.
The servers seem to go slow, and a reboot doesn't speed them up. They seem to get better by themselves.
gnome-system-monitor is saying that the CPU usage is about 0 - 2 % while I'm waiting for these connections.
I have tried restarting the xinetd and networking itself, but to no avail.
Once a connection is made, there are no problems. The machines are different types, but they all run redhat 8.
From what you are saying it could be a dns problem, perhaps you are logging all requests and the services are trying to lookup dns entries for all the connecting hosts, this could delay a connection if the dns is slow to respond.
The next time you see the connections becoming slow put your IP address next to a host entry in the servers hosts file and see if it speeds the connections up for you compared to everyone else. Note that the IP you need to use is the one you identify your self with to the server, this may not be your private IP address.
Yes it was. Populating /etc/hosts is something that I hadn't got round to because (stupidly) i assumed that things wouldn't do a DNS query on a private address. But obviously if you have an internal DNS server then it will.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.