From owner-freebsd-net@FreeBSD.ORG Sat Jan 24 16:20:11 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 A28FD106564A for ; Sat, 24 Jan 2009 16:20:11 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id 00F288FC0A for ; Sat, 24 Jan 2009 16:20:10 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ewy14 with SMTP id 14so55973ewy.19 for ; Sat, 24 Jan 2009 08:20:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=vZb2MkJY5KXiRWEfM/vXSDR70gp6DYExBT6xWuZICRQ=; b=kpTJ2SZMijDd264tkbDuiAVk37B+r5JS4QB38I3asZXnmj6uLigr0TS5Hh04fhHU+K AZta7byBBhUmnIUvP/eoU/sZcYH3A5Q8hRscTLUT683tFytW9xx8ZxZTd1Z0Ag3UWYaO Aw+TB7DqOaJxQ6TTudFMpFyQ7yQgF23qKqGXg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=efDkWrDsmFoQdXradHXbAZuf2FBeshMCpa1aQJvkqOWnOhEqkSNmHAY7GCaCjD2uZh vRFrCMWV6F9kVWZiiSOW5GmGnNaiLYwvFSjmtoghIRm5XEeDTUYmt8ARgl8rlYnPZV8O 8eSQ8rnWIIpas4oeQzZEDyo7EbOBvNJG1QAto= Received: by 10.210.66.13 with SMTP id o13mr10003274eba.124.1232814010113; Sat, 24 Jan 2009 08:20:10 -0800 (PST) Received: from epsilon.lan (bl5-225-218.dsl.telepac.pt [82.154.225.218]) by mx.google.com with ESMTPS id h4sm33634397nfh.65.2009.01.24.08.20.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 24 Jan 2009 08:20:09 -0800 (PST) Sender: Rui Paulo Message-Id: From: Rui Paulo To: Yony Yossef In-Reply-To: <000001c97e23$0d81df20$39ed1aac@mtl.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Sat, 24 Jan 2009 16:20:06 +0000 References: <000001c97e23$0d81df20$39ed1aac@mtl.com> X-Mailer: Apple Mail (2.930.3) Cc: johan@nocrew.org, freebsd-net@freebsd.org, Eitan Shefi , Amit Krig , Liran Liss Subject: Re: 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 16:20:12 -0000 On 24 Jan 2009, at 12:54, Yony Yossef wrote: > 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 I think there are too many mbufs in use. You're probably facing an mbuf leakage and that causes an interface hang. -- Rui Paulo