LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux server slows down once i lose internet connection (https://www.linuxquestions.org/questions/linux-newbie-8/linux-server-slows-down-once-i-lose-internet-connection-726046/)

davidew07 05-14-2009 02:33 PM

Linux server slows down once i lose internet connection
 
I'm new to Linux. One of my clients has a linux server and say's if his internet connection is dropped the internal access to the linux server is very slow. Please let me know if anyone has seen this issue and if there is an easy fix.

farslayer 05-14-2009 02:50 PM

No internet.. no external DNS.. possibly a name resolution timeout issue.

Is he running internal DNS on the network ? (BIND on the Linux Server, or AD DNS on a Windows server)

rylan76 05-15-2009 05:57 AM

Hi all

This -exact- thing happens to me too. When I lose my internet connection, some apps almost stop entirely. The "MySQLCC" GUI MySQL program takes up to 5 minutes to open a MySQL database (on the localhost!) after clicking on it in MySQLCC. (Ok, MySQLCC is apparently old and deprecated, but it works for me.)

Also, surfing sites on my localhost LAMP setup (hosted physically on that same machine) is -incredibly- slow when the internet connection drops.

I'm using static DNS, the router here has auto-DNS specifically turned OFF. I literally wrote the IPs of my preferred DNS servers by hand into /etc/resolv.conf, and I also have a completely manual ifconfig statement to setup my Linux box on the tiny interanet we have here (2 machines).

Using IP addresses instead of symbolic names (i. e. using 127.0.0.1 instead of "localhost:") makes no difference, FireFox and MySQLCC stay glacially slow, even with the raw IP address of the localhost being used.

How can I stop this so that if I loose my internet connection, network related activities on the localhost DO NOT slow to a crawl??

davidew07 05-15-2009 08:55 AM

DNS
 
Quote:

Originally Posted by farslayer (Post 3540994)
No internet.. no external DNS.. possibly a name resolution timeout issue.

Is he running internal DNS on the network ? (BIND on the Linux Server, or AD DNS on a Windows server)


Yes we are running the DNS on the Linux server.

davidew07 05-15-2009 08:57 AM

DNS
 
Yes we are running the DNS on the Linux Server.


All times are GMT -5. The time now is 09:31 PM.