From owner-freebsd-net@FreeBSD.ORG Sat Jan 24 12:55:41 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 DD771106564A for ; Sat, 24 Jan 2009 12:55:41 +0000 (UTC) (envelope-from yonyossef.lists@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 3F1198FC16 for ; Sat, 24 Jan 2009 12:55:41 +0000 (UTC) (envelope-from yonyossef.lists@gmail.com) Received: by ey-out-2122.google.com with SMTP id d26so661611eyd.7 for ; Sat, 24 Jan 2009 04:55:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:mime-version:content-type:x-mailer:thread-index :x-mimeole; bh=NHtDoJ+keJDfHcTSAHIvKsBCWJZULq6cFepD822UNg0=; b=Knqg0laHmQNFapfAM6SjJFb8WGd/2AG+5DWMrdKHQtBjfiV3EKWV0unCHr3ZhyB1Sj u2nEtsGkk4/2PF2+skATM95Xdm3FjbSvrkbI7pyqwP3jkM0vmR1xeejLDN+wI3LSS5G2 hL2tNdYv+PZTGsDqG2Wl8ZRFIjhfRWo321cJc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:mime-version:content-type :x-mailer:thread-index:x-mimeole; b=fWk0Ql36byNEjwbOmZ38cr/xta5YJBnNS5iV2cZCfluXkKzKxZrvdtJyev6Y4nXD05 kwZcG2kE7vdGcA3VhLnTY4cixtf0EIpyiUktroGuYNDGo4SuCQdtnvAoOVI9a1C39oge 73qq9Fga8VWheDR5/0jMjNoTMSs9mi4udLOEw= Received: by 10.67.123.19 with SMTP id a19mr444015ugn.23.1232801738958; Sat, 24 Jan 2009 04:55:38 -0800 (PST) Received: from mtllpt03 (bzq-79-176-238-244.red.bezeqint.net [79.176.238.244]) by mx.google.com with ESMTPS id w28sm1388872uge.5.2009.01.24.04.54.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 24 Jan 2009 04:55:37 -0800 (PST) From: "Yony Yossef" To: , Date: Sat, 24 Jan 2009 14:54:34 +0200 Message-ID: <000001c97e23$0d81df20$39ed1aac@mtl.com> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acl+IucrywxLVXVeQYCFRJSfSJJNEw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Eitan Shefi , Amit Krig , Liran Liss Subject: freebsd 7.0-RELEASE BUG ping: sendto: No buffer space available 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: Sat, 24 Jan 2009 12:55:42 -0000 Hi All, I'm facing a temporary network hang on my interfaces following a flood ping/stress udp test. I'm running a netperf UDP test which is giving results but does not return to the shell. client output: UDP UNIDIRECTIONAL SEND TEST from fe80::202:c9ff:fe02:e1fe%mtnic0 (fe80::202:c9ff:fe02:e1fe) port 0 AF_INET6 to fe80::202:c9ff:fe02:e1f4%mt nic0 (fe80::202:c9ff:fe02:e1f4) port 0 AF_INET6 Socket Message Elapsed Messages Size Size Time Okay Errors Throughput bytes bytes secs # # 10^6bits/sec 32768 1472 10.02 547428 1694280 643.60 32768 10.02 25089 29.50 (HANG) After a minute or two it returns to the shell with the following message: shutdown_control: no response received errno 55 20 minutes later (!!) the interface is working again. netstat -m and vmstat -z outputs during the hang time: # netstat -m 25687/6578/32265 mbufs in use (current/cache/total) 17404/2438/19842/65536 mbuf clusters in use (current/cache/total/max) 0/1024 mbuf+clusters out of packet secondary zone in use (current/cache) 2071/1369/3440/65536 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/65536 9k jumbo clusters in use (current/cache/total/max) 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) 49513K/11996K/61510K bytes allocated to network (current/cache/total) 0/0/0 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 0 requests for I/O initiated by sendfile 0 calls to protocol drain routines You have new mail in /var/mail/root # vmstat -z | grep mbuf ITEM SIZE LIMIT USED FREE REQUESTS FAILURES mbuf_packet: 256, 0, 0, 1024, 1497, 0 mbuf: 256, 0, 25687, 5554, 21208920, 0 mbuf_cluster: 2048, 65536, 18428, 1414, 149349, 0 mbuf_jumbo_pagesize: 4096, 65536, 2071, 1369, 17050312, 0 mbuf_jumbo_9k: 9216, 65536, 0, 0, 0, 0 mbuf_jumbo_16k: 16384, 3200, 0, 0, 0, 0 mbuf_ext_refcnt: 4, 0, 0, 0, 0, 0 # uname -a FreeBSD sw260.lab.mtl.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Mon Dec 29 11:00:24 UTC 2008 root@sw259.lab.mtl.com:/usr/obj/usr/src.dbg/sys/GENERIC.KDB amd64 The fact that the interface is coming back to life without any driver activity indicates an OS bug. Thanks, Yony