LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2009, 03:33 PM   #1
davidew07
LQ Newbie
 
Registered: May 2009
Posts: 3

Rep: Reputation: 0
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.
 
Old 05-14-2009, 03:50 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
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)
 
Old 05-15-2009, 06:57 AM   #3
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,497

Rep: Reputation: 90
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??

Last edited by rylan76; 05-15-2009 at 06:59 AM.
 
Old 05-15-2009, 09:55 AM   #4
davidew07
LQ Newbie
 
Registered: May 2009
Posts: 3

Original Poster
Rep: Reputation: 0
DNS

Quote:
Originally Posted by farslayer View Post
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.
 
Old 05-15-2009, 09:57 AM   #5
davidew07
LQ Newbie
 
Registered: May 2009
Posts: 3

Original Poster
Rep: Reputation: 0
DNS

Yes we are running the DNS on the Linux Server.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
linux router slows connection messiahnet Linux - Networking 3 07-09-2005 02:03 AM
trying to setup linux firewal/dhcp server but its not sharing the internet connection abefroman Linux - Networking 4 05-01-2005 05:39 AM
How Can I Make Internet Connection Sharing Server With RedHat Linux 7.3? SurfTurtle Linux - Networking 6 10-20-2002 02:01 AM
Share an internet connection betwen a linux server and a windows client GiGA Linux - Software 4 08-21-2002 10:22 AM
Sharing an internet connection with a Linux client through a 2000 server gateway thuan Linux - Networking 1 08-02-2001 02:55 PM


All times are GMT -5. The time now is 08:07 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration