From owner-freebsd-net Mon Nov 4 6:41:28 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2118337B401 for ; Mon, 4 Nov 2002 06:41:27 -0800 (PST) Received: from ene.asda.gr (ene.asda.gr [193.92.118.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3D6A43E42 for ; Mon, 4 Nov 2002 06:41:25 -0800 (PST) (envelope-from lefty@ene.asda.gr) Received: from ene.asda.gr (lefty.ene.asda.gr [193.92.118.162]) (authenticated bits=0) by ene.asda.gr (8.12.6/8.12.6) with ESMTP id gA4EfFIS040440; Mon, 4 Nov 2002 16:41:17 +0200 (EET) (envelope-from lefty@ene.asda.gr) Message-ID: <3DC68735.F2008CDA@ene.asda.gr> Date: Mon, 04 Nov 2002 16:41:57 +0200 From: Lefteris Tsintjelis X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en,el MIME-Version: 1.0 To: Iasen Kostov Cc: freebsd-net@FreeBSD.ORG Subject: Re: mbufs exhausted - kernel panic References: <20021104153320.L76062-100000@shadowhand.OTEL.net> Content-Type: text/plain; charset=iso-8859-7 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org You need to increase kern.ipc.nmbufs sysctl -w kern.ipc.nmbufs=... Iasen Kostov wrote: > > I've tested our LAN when I come to this: > I ran nbtscan 192.168.0.0/16 after a 2-3 secs kernel started printing > > "All mbufs exhausted, see tuning(7)". > if you cancel execution of nbtscan - everything is ok but: > > 10112/10112/10112 mbufs in use (current/peak/max): > 9822 mbufs allocated to data > 128/130/2528 mbuf clusters in use (current/peak/max) > 2788 Kbytes allocated to network (36% of mb_map in use) > 161 requests for memory denied > 0 requests for memory delayed > 8 calls to protocol drain routines > > and second after kernel paniced. > After reboot tried this again and nothing has happend. > Then I mounted a NFS directory exported from the other computer on the > network and tried nebtscan 192.168.0.0/16 again ... and kernel paniced > when I execute "ls" in the NFS mounted directory. > > Fatal trap 12: page fault while in kernel mode > . > . > . > current process = 272(ls) > ... > > I can't use this machine for dumping kernel core becouse it's > production server it should be up and running. But I'll try same at home. > > It seems that kernel mbuf are exhausted by the route cache or the > arpresolver becouse I can see a lot of unresolved arp requests in the > routing table. > > interface xl0 has 2 IPs > inet 212.36.9.x netmask 0xfffffff8 broadcast 212.36.9.x > inet 192.168.100.254 netmask 0xffff0000 broadcast 192.168.255.255 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message