Date: Fri, 16 Aug 2002 08:08:29 +1000 From: Peter Jeremy <peter.jeremy@alcatel.com.au> 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>
next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> 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: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82443BX host to PCI bridge (AGP disabled)> on motherboard pci0: <PCI bus> 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: <Compaq Netelligent 10/100 Proliant> port 0x3040-0x304f mem 0xc6afacf0-0xc6afacff irq 15 at device 7.0 on pci0 tl0: Ethernet address: 00:50:8b:dc:8a:75 miibus0: <MII bus> on tl0 lxtphy0: <LXT970 10/100 media interface> on miibus0 lxtphy0: 100baseFX, 100baseFX-FDX, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto tlphy0: <ThunderLAN 10baseT media interface> on miibus0 tlphy0: 10base2/BNC, 10base5/AUI pci0: <ATI Mach64-GV graphics accelerator> at 8.0 pci0: <unknown card> (vendor=0x0e11, dev=0xa0f0) at 9.0 pci0: <unknown card> (vendor=0x114f, dev=0x0004) at 13.0 irq 5 fxp0: <Intel Pro 10/100B/100+ Ethernet> 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: <i82555 10/100 media interface> on miibus1 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isp0: <Qlogic ISP 1020/1040 PCI SCSI Adapter> port 0x2c00-0x2cff mem 0xc6afb000-0xc6afbfff irq 15 at device 18.0 on pci0 isab0: <Intel 82371AB PCI to ISA bridge> at device 20.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 ATA33 controller> port 0xf100-0xf10f at device 20.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 20.2 irq 0 chip1: <Intel 82371AB Power management controller> at device 20.3 on pci0 orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xe8000-0xedfff,0xee000-0xeffff on isa0 sc0: <System console> on isa0 sc0: VGA <12 virtual consoles, flags=0x200> fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: cannot reserve I/O port range sio0 at port 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A DUMMYNET initialized (011031) IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default ata0-slave: ATAPI identify retries exceeded acd0: CDROM <CD-224E> at ata0-master PIO4 Waiting 2 seconds for SCSI devices to settle sa0 at sym1 bus 0 target 5 lun 0 sa0: <DEC TZ89 (C) DEC 2150> Removable Sequential Access SCSI-2 device sa0: 20.000MB/s transfers (10.000MHz, offset 15, 16bit) pass14 at isp0 bus 0 target 14 lun 0 pass14: <SYMBIOS D1000 2> Fixed Processor SCSI-2 device pass14: 3.300MB/s transfers pass15 at isp0 bus 0 target 15 lun 0 pass15: <SYMBIOS D1000 2> Fixed Processor SCSI-2 device pass15: 3.300MB/s transfers da0 at sym0 bus 0 target 0 lun 0 da0: <COMPAQ BB00911CA0 3B07> Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da0: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C) da1 at isp0 bus 0 target 0 lun 0 da1: <SEAGATE ST34501WCSUN4.2G 0558> Fixed Direct Access SCSI-2 device da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da1: 4094MB (8385121 512 byte sectors: 255H 63S/T 521C) da2 at isp0 bus 0 target 1 lun 0 da2: <SEAGATE ST34501WCSUN4.2G 0558> Fixed Direct Access SCSI-2 device da2: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da2: 4094MB (8385121 512 byte sectors: 255H 63S/T 521C) da3 at isp0 bus 0 target 2 lun 0 da3: <SEAGATE ST34501WCSUN4.2G 0558> Fixed Direct Access SCSI-2 device da3: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da3: 4094MB (8385121 512 byte sectors: 255H 63S/T 521C) da5 at isp0 bus 0 target 4 lun 0 da5: <SEAGATE ST34501WCSUN4.2G 0558> Fixed Direct Access SCSI-2 device da5: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da5: 4094MB (8385121 512 byte sectors: 255H 63S/T 521C) da6 at isp0 bus 0 target 5 lun 0 da6: <SEAGATE ST34501WCSUN4.2G 0558> Fixed Direct Access SCSI-2 device da6: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da6: 4094MB (8385121 512 byte sectors: 255H 63S/T 521C) da11 at isp0 bus 0 target 12 lun 0 da11: <SEAGATE ST34501WCSUN4.2G 0558> Fixed Direct Access SCSI-2 device da11: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da11: 4094MB (8385121 512 byte sectors: 255H 63S/T 521C) da12 at isp0 bus 0 target 13 lun 0 da12: <SEAGATE ST34501WCSUN4.2G 0558> Fixed Direct Access SCSI-2 device da12: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da12: 4094MB (8385121 512 byte sectors: 255H 63S/T 521C) da10 at isp0 bus 0 target 11 lun 0 da10: <SEAGATE ST34501WCSUN4.2G 0558> Fixed Direct Access SCSI-2 device da10: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da10: 4094MB (8385121 512 byte sectors: 255H 63S/T 521C) da9 at isp0 bus 0 target 10 lun 0 da9: <SEAGATE ST34501WCSUN4.2G 0558> Fixed Direct Access SCSI-2 device da9: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da9: 4094MB (8385121 512 byte sectors: 255H 63S/T 521C) da8 at isp0 bus 0 target 9 lun 0 da8: <SEAGATE ST34501WCSUN4.2G 0558> Fixed Direct Access SCSI-2 device da8: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da8: 4094MB (8385121 512 byte sectors: 255H 63S/T 521C) da7 at isp0 bus 0 target 8 lun 0 da7: <SEAGATE ST34501WCSUN4.2G 0558> Fixed Direct Access SCSI-2 device da7: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da7: 4094MB (8385121 512 byte sectors: 255H 63S/T 521C) da4 at isp0 bus 0 target 3 lun 0 da4: <SEAGATE ST34501WCSUN4.2G 0558> Fixed Direct Access SCSI-2 device da4: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da4: 4094MB (8385121 512 byte sectors: 255H 63S/T 521C) Mounting root from ufs:/dev/da0s1a digi0 mem 0xc6c00000-0xc6ffffff irq 5 at device 13.0 on pci0 digi0: Digiboard PCI PC/Xem ASIC, 16 ports found ppc0: cannot reserve I/O port range Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020816080829.T72938>