From owner-freebsd-questions@FreeBSD.ORG Thu Apr 5 14:11:44 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 45B0416A402 for ; Thu, 5 Apr 2007 14:11:44 +0000 (UTC) (envelope-from thiago@lamce.coppe.ufrj.edu.br) Received: from lamce.coppe.ufrj.br (anubis.lamce.coppe.ufrj.br [146.164.92.1]) by mx1.freebsd.org (Postfix) with ESMTP id B5CAC13C455 for ; Thu, 5 Apr 2007 14:11:43 +0000 (UTC) (envelope-from thiago@lamce.coppe.ufrj.edu.br) Received: from www.lamce.coppe.ufrj.br (anubis.lamce.coppe.ufrj.br [146.164.92.1]) by lamce.coppe.ufrj.br (Postfix) with ESMTP id CFD5E20B646; Thu, 5 Apr 2007 11:11:42 -0300 (BRT) Received: from 146.164.92.1 (SquirrelMail authenticated user thiago) by www.lamce.coppe.ufrj.br with HTTP; Thu, 5 Apr 2007 11:11:42 -0300 (BRT) Message-ID: <65354.146.164.92.1.1175782302.squirrel@www.lamce.coppe.ufrj.br> Date: Thu, 5 Apr 2007 11:11:42 -0300 (BRT) From: "Thiago Esteves de Oliveira" To: "Marc G. Fournier" User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-stable@freebsd.org, "Brian A. Seklecki" , freebsd-questions@freebsd.org Subject: Re: No buffer space available 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: Thu, 05 Apr 2007 14:11:44 -0000 Marc, My machine is working with the kernel that comes with 6.1-STABLE (I archived this good kernel before upgrade the OS to 6.2). No, I'm not using geom. Can you send your dmesg.boot and "sysctl -a kern" output? Marc G. Fournier wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Thiago ... > > I'm just curious here, but are you by any chance using geom at all? The only > machine I have that seems to be affected like this (where netstat -m doesn't seem to indicate a problem with mbufs) is using gmirror ... the rest all use hardware RAID controllers ... > > Its a long shot, but so far, its the only one I seem to be able to draw :( > > > - --On Sunday, April 01, 2007 17:07:08 -0300 Thiago Esteves de Oliveira wrote: > > >> I've tried to increase the kern.ipc.nmbclusters value but it worked only when I changed the kernel to an older one. >> >> netstat -m (Now it's working with the same values.) >> - >> 515/850/1365 mbufs in use (current/cache/total) >> 512/390/902/65024 mbuf clusters in use (current/cache/total/max) 512/243 mbuf+clusters out of packet secondary zone in use (current/cache) 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/0 9k jumbo clusters in use (current/cache/total/max) >> 0/0/0/0 16k jumbo clusters in use (current/cache/total/max) >> 1152K/992K/2145K 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 >> 2759 requests for I/O initiated by sendfile >> 2982 calls to protocol drain routines >> >> Ethernet adapters >> - >> em0: port 0xec80-0xecbf m em 0xfebe0000-0xfebfffff irq 10 at device 4.0 on pci7 em0: Ethernet address: 00:04:23:c3:06:78 >> em0: [FAST] >> skc0: <3Com 3C940 Gigabit Ethernet> port 0xe800-0xe8ff mem >> 0xfebd8000-0xfebdbfff irq 15 at device 6.0 on pci7 >> skc0: 3Com Gigabit NIC (3C2000) rev. (0x1) >> sk0: on skc0 >> sk0: Ethernet address: 00:0a:5e:65:ad:c3 >> miibus0: on sk0 >> e1000phy0: on miibus0 >> e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto >> >> P.S.: I am using the FreeBSD/amd64. >> >> Brian A. Seklecki wrote: >> >>> Show us netstat -m on the broken kernel? Show us your dmesg(8) for em(4). >>> >>> TIA, >>> ~BAS >>> >>> On Fri, 2007-03-30 at 11:13 -0300, Thiago Esteves de Oliveira wrote: >>> >>>> Hello, >>>> >>>> I've had a problem with one of my FreeBSD servers, the machine has stopped its network services and then sent these messages: >>>> >>>> -Mar 27 13:00:03 anubis dhcpd: send_packet: No buffer space available -Mar 27 13:00:26 anubis routed[431]: Send bcast sendto(em0, >>>> 146.164.92.255.520): No buffer space available >>>> >>>> The messages were repeated a lot of times before a temporary solution. I've changed the kernel(FreeBSD 6.2) to an older one(FreeBSD 6.1) and since then it's been working well. What happened? >>>> >>>> P.S.: I can give more informations if necessary. >>>> >>>> -- Thiago Esteves de Oliveira