From owner-freebsd-questions@FreeBSD.ORG Tue May 4 21:58:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C49CF1065670 for ; Tue, 4 May 2010 21:58:13 +0000 (UTC) (envelope-from scottj75074@yahoo.com) Received: from web110711.mail.gq1.yahoo.com (web110711.mail.gq1.yahoo.com [67.195.13.218]) by mx1.freebsd.org (Postfix) with SMTP id 9BAAB8FC12 for ; Tue, 4 May 2010 21:58:13 +0000 (UTC) Received: (qmail 20780 invoked by uid 60001); 4 May 2010 21:31:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1273008691; bh=Rfa/e8OLprVTpFrfbVVaLQtMjzC92mqPxUsjF/7NYxU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=qsuxBq88SdEAT/0AJmL1GPO/zlBDTy+uMvZ+E0ROeA00uLhzt6Yf8PQPF6C94+doYqOBZLd3LXPLyMoppfiHGN6iHS0IHe7VsUmZ8H/wubPIz01FWyJpd+jIi12dxf2TQkfrIWnVq5byijA56GmJNpY3hbckOmx9yN+enF6e56Y= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=rGUgopbFPFO3eKKqBea5rNeBtr3crTF3of4Q7e9Omqz9Nop4byDiylG+L5puoLQ4/LHNShqUvv+67e5WJT/vPLKiftz7u0bVl6yumcP0ptUvI/OcgmsMdnNFyS/OxC40iTvwpnE2XoL/1yZqhf15umyt62UwA2t5yoKvqBtwn0Q=; Message-ID: <889123.99786.qm@web110711.mail.gq1.yahoo.com> X-YMail-OSG: L32gH3YVM1mxFsse5uzfoHAu5KAYd5BPVxlOinWLODdyVFs GPMwR4kMcTCKZFKwypgtxLSgHKLIkR1rcnK2d6HCpp4_jUOHl1MDirbLpi2p zHpJA_TNIBiSiwDJS7WXi4raT6jZLrGI84spIc6ZT3bqUnax8SO4o0OI5T8q F9p.Iaxk_J_PNrQfcmTAw7Bq7Y5s26i5_Jwu_NQrXVKsVfihIhah4BBbGPb0 hXMvs.vYHWkObkssKxn5yE0e5x4.aEFX_Zntd1K3eyPdiZMbK9TCFqG6gP8Q W8FacXOtPm0hqj5oTkNPDiLxXNQXqd6WtMGD3InYCfTspKEzl0ySrNw-- Received: from [99.189.91.206] by web110711.mail.gq1.yahoo.com via HTTP; Tue, 04 May 2010 14:31:31 PDT X-Mailer: YahooMailRC/348.5 YahooMailWebService/0.8.103.269680 Date: Tue, 4 May 2010 14:31:31 -0700 (PDT) From: Scott Johnson To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Server disappears from network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2010 21:58:13 -0000 I'm running 8.0-release on a Supermicro X7SPA-H with dual GbE. I have the two interfaces bridged (using if_bridge) with em0 connected to my PC and em1 to a 100Mb router. After days of uptime, em1 will suddenly stop responding to anything. I cannot ping it from the router, and I cannot ping the router from the console. I can ping the server from my PC and vice versa, so em0 is still working. Nothing unusual appears in /var/log/messages. >From the console, I ran `ifconfig em1 down; ifconfig em1 up` and got this error: em1: Could not setup receive structures Which seems to have to do with mbufs. So I upped kern.ipc.nmbclusters from 32768 to 65536. The next time it went down, I ran `ifconfig em1 down; ifconfig em1 up` again and everything was good. So increasing nmbclusters helped with something. After that, I ran netstat -m: 45866/20524/66390 mbufs in use (current/cache/total) 45727/19809/65536/65536 mbuf clusters in use (current/cache/total/max) 43366/591 mbuf+clusters out of packet secondary zone in use (current/cache) 0/260/260/12800 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) 102920K/45789K/148709K bytes allocated to network (current/cache/total) 0/3538/1768 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/0/0 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 2 requests for I/O initiated by sendfile 0 calls to protocol drain routines And I ran ifconfig: em0: flags=8943 metric 0 mtu 1500 options=98 ether 00:25:90:02:16:54 media: Ethernet autoselect status: no carrier em1: flags=8943 metric 0 mtu 1500 options=98 ether 00:25:90:02:16:55 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 metric 0 mtu 16384 options=3 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 bridge0: flags=8843 metric 0 mtu 1500 ether 00:25:90:02:16:54 inet 192.168.1.93 netmask 0xffffff00 broadcast 192.168.1.255 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: em1 flags=143 ifmaxaddr 0 port 2 priority 128 path cost 2000000 member: em0 flags=143 ifmaxaddr 0 port 1 priority 128 path cost 2000000 Is there anything in there that stands out? I don't know enough about the network stack to interpret much of anything in there. What can I do to further diagnose this problem next time it happens? The only other computer on the network is my WinXP desktop.