From owner-freebsd-bugs Wed Sep 18 14:50: 6 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4CC437B404 for ; Wed, 18 Sep 2002 14:50:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78B0F43E6A for ; Wed, 18 Sep 2002 14:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8ILo2Co079131 for ; Wed, 18 Sep 2002 14:50:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8ILo2T7079130; Wed, 18 Sep 2002 14:50:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 019FF37B401 for ; Wed, 18 Sep 2002 14:42:08 -0700 (PDT) Received: from waits.engr.nominum.com (waits.engr.nominum.com [128.177.194.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id B03C943E3B for ; Wed, 18 Sep 2002 14:42:07 -0700 (PDT) (envelope-from gnn@waits.engr.nominum.com) Received: (from gnn@localhost) by waits.engr.nominum.com (8.11.6/8.11.6) id g8ILg7130781; Wed, 18 Sep 2002 14:42:07 -0700 (PDT) (envelope-from gnn) Message-Id: <200209182142.g8ILg7130781@waits.engr.nominum.com> Date: Wed, 18 Sep 2002 14:42:07 -0700 (PDT) From: "George V. Neville-Neil" Reply-To: "George V. Neville-Neil" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/42937: panic when ARP cache uses up all mbufs Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42937 >Category: kern >Synopsis: panic when ARP cache uses up all mbufs >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 18 14:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: George V. Neville-Neil >Release: FreeBSD 4.5-RELEASE i386 >Organization: Nominum Inc. >Environment: System: FreeBSD waits.engr.nominum.com 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jun 24 14:33:42 PDT 2002 gnn@waits.engr.nominum.com:/usr/src/sys/compile/WAITS i386 >Description: We have an application that can send a ping to many different clients very quickly (it is a DHCP server). On FreeBSD each ping causes an ARP entry to be created and the associated mbuf (for the outgoing ICMP packet) to be stored with it. This packet is trapped until the ARP reply comes back or it is timed out. The arp cache is timed out every 5 minutes. It is quite easy to use up all the mbufs in this time, and then any mbuf allocation that panics on failure causes the kernel to die. >How-To-Repeat: Write a program that pings many addresses. Watch netstat -m. Watch kernel die. >Fix: None known. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message