From owner-freebsd-net@FreeBSD.ORG Sun Mar 1 11:01:18 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 D65E31065672 for ; Sun, 1 Mar 2009 11:01:18 +0000 (UTC) (envelope-from ady@ady.ro) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 5FE568FC0C for ; Sun, 1 Mar 2009 11:01:18 +0000 (UTC) (envelope-from ady@ady.ro) Received: by ey-out-2122.google.com with SMTP id d26so349041eyd.7 for ; Sun, 01 Mar 2009 03:01:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.210.66.1 with SMTP id o1mr3729387eba.19.1235905277191; Sun, 01 Mar 2009 03:01:17 -0800 (PST) In-Reply-To: <49AA352E.5060803@gmail.com> References: <49AA352E.5060803@gmail.com> Date: Sun, 1 Mar 2009 12:01:17 +0100 Message-ID: <78cb3d3f0903010301y5d8bbaf9r4a285653688d74ca@mail.gmail.com> From: Adrian Penisoara To: stutiredboy Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Sun, 01 Mar 2009 11:01:19 -0000 Hi, 2009/3/1 stutiredboy > hi,all: > > recently , we found a problem that , some server which with FreeB= SD > 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=A3=ACour 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