LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-09-2003, 03:16 PM   #1
freelinuxcpp
Member
 
Registered: Jul 2003
Posts: 129

Rep: Reputation: 15
When the Server crash :(


Hello everybody
here is what has happened to me :
i set a NAT server(iptables) , which i added a DNS(bind9) server with a PROXY(squid2.4stable6) server . the NAT , Transparent Proxy , and the DNS server was working proprely without any problemes .......BUT !

after a connexion of 17 clients , ( which use this proxy as default gw and name server ) the system crash every 10 ~ 20 min whith :
the DNS stop resolving Names .
while trying to restart it is freezes on message : Restarting Name Server .
when trying to use an other name server the sstem doenst work also ( => SQUID crashs also )
i thaught about an overload of my server , but after getting a look on free -m , vmstat , top .... i found that my resources has always something free , anytime , and with any number of requests per second !

please if someone can have an idea about this just tell me
thax
 
Old 12-09-2003, 04:36 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Where the problems started? Is it possible that after a power failure or something similar that may have caused filesystem errors? have you tried fsck on the partitions you have the executables and configuration files?
 
Old 12-09-2003, 06:51 PM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Sounds like bad RAM to me. Have you tried swapping RAM modules? It could also be overheating. The problem with named now is probably due to the crashes. You most likely have lost clusters on /var and named is an application that loads data from /var. Try running fsck.
 
Old 12-12-2003, 12:15 PM   #4
freelinuxcpp
Member
 
Registered: Jul 2003
Posts: 129

Original Poster
Rep: Reputation: 15
> Oct 13 14:29:40 LNXDNS01 named[14091]: client 206.27.2.x#51666: no more
TCP clients: quota reached
this is after fixing a ( missed in named.conf which caused the crash of named , my ram is OK , and i've all my HDD clusters ok also , it's just that sometimes the server became a quite slow to reply clients queries , and SQUID crash often , with a message let in the logs which says that the disk space quota is exeeded , even if i set Cache_dir to 17000 (17Gb) and actualy i have only 1GB used !
realy i can't understand what's happening !
 
Old 12-12-2003, 04:11 PM   #5
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
I don't think the disk quota is reached, I think the connection limit is reached. Why is everything using TCP to query named? Normal queries use UDP unless the response is unusually large (in which case they reissue the query using TCP).

I think you have a problem with a large number of TCP connections being opened and never closed again. What does the output of
$ netstat -anA inet |grep -v udp |grep -v LISTEN
when you're at high load?

*note the above syntax for netstat might not work on Linux; I've converted it from OpenBSD. I know that the Linux equiv. to -f inet is -A inet, but I don't recall if udp is prefixed with udp, UDP, etc...
 
  


Reply



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
X Server Crash sidra Red Hat 1 06-22-2005 09:21 AM
xmms crash xine crash mplayer crash paledread Linux - Software 9 03-09-2004 07:09 AM
x server crash xjphil Debian 1 02-15-2004 12:58 AM
Server Crash!?!??! InSane103 Linux - Software 3 07-09-2003 03:05 PM
X server crash .. sriramcha Linux - Newbie 6 09-01-2002 12:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:55 AM.

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
Open Source Consulting | Domain Registration