From owner-freebsd-net@FreeBSD.ORG Mon Mar 2 01:14:52 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 696C0106566C for ; Mon, 2 Mar 2009 01:14:52 +0000 (UTC) (envelope-from stutiredboy@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.184]) by mx1.freebsd.org (Postfix) with ESMTP id 0126E8FC08 for ; Mon, 2 Mar 2009 01:14:51 +0000 (UTC) (envelope-from stutiredboy@gmail.com) Received: by ti-out-0910.google.com with SMTP id a1so2585943tib.3 for ; Sun, 01 Mar 2009 17:14:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=AgvX/oeuz4/VxWj9idS+46Xsezvi2DGbZw+cY1bA0+w=; b=wtk9mR35idlXs/zUM3W79t4JBEDDQTY+SMlefodRbM27SZT1f6Lxn3zfb7GS7Y6JMc l3xKMXP8koMOjMaXlnaMhHnFScddpNYr1mcy6S4WN6daHkxm0iBgAy0GqeGDh452NmpR 8+bupTgrSi8xe40yyCntOIHJCPtm/SRa0TI+U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=vdCxchwph3HoA37EpaDDeW8V8Z+yzkrvUq5t79k9cK6/fykLbnH+VXSdJyFcO2taPl rMzhF5LvaItUK6e2dQxR/DPz2+oOw+yb10Y4Fe+afHSYc5OdnLdnyJ20r5gGQejsbi9I iSF+SEpMn53QbSDUsfPCECPy++t0EpddNlSIA= Received: by 10.110.46.3 with SMTP id t3mr746714tit.31.1235956490483; Sun, 01 Mar 2009 17:14:50 -0800 (PST) Received: from ?192.168.25.72? ([218.107.55.254]) by mx.google.com with ESMTPS id a14sm8857401tia.7.2009.03.01.17.14.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 01 Mar 2009 17:14:49 -0800 (PST) Message-ID: <49AB3307.5070900@gmail.com> Date: Mon, 02 Mar 2009 09:14:47 +0800 From: stutiredboy User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Adrian Penisoara References: <49AA352E.5060803@gmail.com> <78cb3d3f0903010301y5d8bbaf9r4a285653688d74ca@mail.gmail.com> <49AA744D.8060407@gmail.com> <78cb3d3f0903011110nb13791dk5aa5e1d174c1e063@mail.gmail.com> In-Reply-To: <78cb3d3f0903011110nb13791dk5aa5e1d174c1e063@mail.gmail.com> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit Cc: freebsd-net@freebsd.org Subject: Re: crazy network problem -- sleep? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 01:14:52 -0000 Adrian Penisoara дµÀ: > Hi, > > 2009/3/1 stutiredboy > > > Adrian Penisoara дµÀ: > > Hi, > > > > 2009/3/1 stutiredboy > > >> > > > > hi,all: > > > > recently , we found a problem that , some server which with FreeBSD > > 6.2 may stop networking after > > days of services, it is so difficulty express this status, e, > such as > > sleep? i can not ping this server, tracert is also > > failure, and other services ,network/server seems to be down... but > > while i insert the keyboard/mouse/crt in , > > everything is ok, such as a ring to call the system to wake-up... no > > errors found in dmesg or /var/log/messages, > > such as nothing happened...orz£¬our unlimit args as follow: > > > > cputime unlimited > > filesize unlimited > > datasize 2088152 kbytes > > stacksize 65536 kbytes > > coredumpsize unlimited > > memoryuse unlimited > > vmemoryuse unlimited > > descriptors 655000 > > memorylocked unlimited > > maxproc 5547 > > sbsize unlimited > > > > plz give me some suggestion to trace the problem or solve it . > > thanks a > > lot ! > > > > > > First you need to check whether packets are reaching the system and > > whether the response packets are leaving it with tcpdump(8) on the > > appropriate interface. > > > > If you see the packets coming but not coming out then you need to > > check the status of your TCP/IP stack -- e.g. post the output of > > "netstat -m" and "netstat -s". Also check dmesg output for any > errors. > > > > If you are using firewall(s) (ipfw/ipfilter/pf) then check the rules > > and the firewall states status; try temporarily disabling the > firewall > > (ipfw disable firewall / ipf -D / pfctl -d) and check whether your > > system becomes reachable. > > > > Check CPU load, interrupts, packet stats (systat -vmstat / systat > > -ifstat). > > > > Regards, > > Adrian Penisoara > > EnterpriseBSD > hi, thank you for your help, i can only ssh to the system, so > while the > network is down, i can not login in > > yes, we have ipfw on , these rules have used a long time, and many > other > severs do not have this problem, > > this sistutation happened scarce, in different machine rooms, > different > isps, different servers, such as hp\dell. > > while the network usable, the cpu and system load is normal, i have > checked dmesg and syslog, nothing > > special found , where our colleague in machine room insert the > keyboard > or mouse in ,then the network > > recover , it is so difficult to catch the ouput of tcpdump or other > messages form netstat , the moment you > > have the keyboard connected , the network recover... thanks very > much ! > > > You mean that once you plugin a keyboard the machine recovers ? That's > weird. What if you leave the keyboard connected all the time ? > > Try to attach one of the machines which reproduces the problem to a > KVM switch (Keyboard/Video/Mouse switcher). If you are able to > reproduce again the problem then you might have more chances to catch it. > > Regards, > Adrian. > hi, thanks Adrian. yes,it is weird and thanks for your opinion, it's a good a idea , but it is a pity that i do not know which machine will run into this problem again, we have thousands of machines in different machine rooms, i will try this , hope i have the chances to catch the useful info. :-)