From owner-freebsd-stable Thu Aug 15 15: 8:41 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC0DC37B400 for ; Thu, 15 Aug 2002 15:08:34 -0700 (PDT) Received: from alcanet.com.au (mail2.alcanet.com.au [203.62.196.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0995543E4A for ; Thu, 15 Aug 2002 15:08:33 -0700 (PDT) (envelope-from peter.jeremy@alcatel.com.au) Received: from sydsmtp01.alcatel.com.au (IDENT:root@localhost.localdomain [127.0.0.1]) by alcanet.com.au (8.12.4/8.12.4/Alcanet1.3) with ESMTP id g7FM8UZN031077; Fri, 16 Aug 2002 08:08:30 +1000 Received: from gsmx07.alcatel.com.au ([139.188.20.247]) by sydsmtp01.alcatel.com.au (Lotus Domino Release 5.0.10) with ESMTP id 2002081608083003:96015 ; Fri, 16 Aug 2002 08:08:30 +1000 Received: from gsmx07.alcatel.com.au (localhost [127.0.0.1]) by gsmx07.alcatel.com.au (8.12.5/8.12.5) with ESMTP id g7FM8Thh081050; Fri, 16 Aug 2002 08:08:29 +1000 (EST) (envelope-from peter.jeremy@alcatel.com.au) Received: (from jeremyp@localhost) by gsmx07.alcatel.com.au (8.12.5/8.12.5/Submit) id g7FM8T2p081049; Fri, 16 Aug 2002 08:08:29 +1000 (EST) (envelope-from peter.jeremy@alcatel.com.au) Date: Fri, 16 Aug 2002 08:08:29 +1000 From: Peter Jeremy To: freebsd-stable@freebsd.org Cc: andrew.li@alcatel.com.au Subject: M_DEVBUF running out of space. Message-ID: <20020816080829.T72938@gsmx07.alcatel.com.au> Mail-Followup-To: freebsd-stable@freebsd.org, andrew.li@alcatel.com.au Mime-Version: 1.0 User-Agent: Mutt/1.2.5.1i X-MIMETrack: Itemize by SMTP Server on SYDSMTP01/AlcatelAustralia(Release 5.0.10 |March 22, 2002) at 16/08/2002 08:08:30, Serialize by Router on SYDSMTP01/AlcatelAustralia(Release 5.0.10 |March 22, 2002) at 16/08/2002 08:08:30, Serialize complete at 16/08/2002 08:08:30 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I just upgraded a machine to -STABLE as of about 3 days ago and am now getting "camq_init: - cannot malloc array!" reported on the console. vmstat suggests that M_DEVBUF has reached its limit: Type InUse MemUse HighUse Limit Requests Limit Limit Size(s) devbuf1293222 20988K 20988K 20988K 9050825 2 0 16,32,64,128,256,512,1K,2K,4K,8K,32K,64K,128K When I reboot, devbuf returns to a sane value: devbuf 870 788K 788K 20988K 18891 0 0 16,32,64,128,256,512,1K,2K,4K,8K,32K,64K,128K It looks like something is leaking M_DEVBUF objects, but given that every device driver in the system uses M_DEVBUF, it mightn't be easy to locate. Has anyone else seen anything like this? The system was previously running a 4.6-PRERELEASE from mid-May and did not report any problems. It's a Compaq Proliant 1850R and the full dmesg is: Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.6-STABLE #1: Wed Aug 14 13:56:26 EST 2002 root@aalp03.alcatel.com.au:/usr/obj/usr/src/sys/wansim Timecounter "i8254" frequency 1193160 Hz Timecounter "TSC" frequency 598170326 Hz CPU: Pentium III/Pentium III Xeon/Celeron (598.17-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x383f9ff real memory = 134201344 (131056K bytes) avail memory = 127213568 (124232K bytes) Preloaded elf kernel "kernel" at 0xc0352000. VESA: v2.0, 1024k memory, flags:0x0, mode table:0xc02f59e2 (1000022) VESA: ATI MACH64 Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 sym0: <875> port 0x2000-0x20ff mem 0xc6aff000-0xc6afffff,0xc6afaf00-0xc6afafff irq 10 at device 6.0 on pci0 sym0: No NVRAM, ID 7, Fast-20, SE, parity checking sym1: <875> port 0x2400-0x24ff mem 0xc6afe000-0xc6afefff,0xc6afae00-0xc6afaeff irq 11 at device 6.1 on pci0 sym1: No NVRAM, ID 7, Fast-20, SE, parity checking tl0: port 0x3040-0x304f mem 0xc6afacf0-0xc6afacff irq 15 at device 7.0 on pci0 tl0: Ethernet address: 00:50:8b:dc:8a:75 miibus0: on tl0 lxtphy0: on miibus0 lxtphy0: 100baseFX, 100baseFX-FDX, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto tlphy0: on miibus0 tlphy0: 10base2/BNC, 10base5/AUI pci0: at 8.0 pci0: (vendor=0x0e11, dev=0xa0f0) at 9.0 pci0: (vendor=0x114f, dev=0x0004) at 13.0 irq 5 fxp0: port 0x3000-0x303f mem 0xc6b00000-0xc6bfffff,0xc6afc000-0xc6afcfff irq 15 at device 15.0 on pci0 fxp0: Ethernet address 00:50:8b:69:ac:12 inphy0: on miibus1 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isp0: port 0x2c00-0x2cff mem 0xc6afb000-0xc6afbfff irq 15 at device 18.0 on pci0 isab0: at device 20.0 on pci0 isa0: on isab0 atapci0: port 0xf100-0xf10f at device 20.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 20.2 irq 0 chip1: at device 20.3 on pci0 orm0: