ifconfig -A output (to show the interfaces including any tunnels/ppp/etc)
and describing what the system is doing might be helpful. any altq? nfs?
are you using AES crypto?

it would be good to get a good write-up into a PR so it's not lost
and so people who don't read misc will see it.


On 2011-02-11, Alan Wilkie <[email protected]> wrote:
> I have now upgraded my machine to "OpenBSD 4.9-beta (GENERIC) #654: Wed 
> Feb  9 14:50:38 MST 2011", and I am still seeing a constant rate 
> consumption of mbufs.  I have tried a number of things (shutting down 
> all non-essential user processes, turning off network interfaces, etc), 
> but none have made any difference, the system consumes 256 byte mbufs at 
> a constant rate of 5 mbufs per second:
>
> # uptime && netstat -m
>   3:23PM  up 26 mins, 3 users, load averages: 0.24, 0.35, 0.34
> 8078 mbufs in use:
>          7844 mbufs allocated to data
>          117 mbufs allocated to packet headers
>          117 mbufs allocated to socket names and addresses
> 21/58/6144 mbuf 2048 byte clusters in use (current/peak/max)
> ...
>
> The system is very lightly loaded.  If I let it continue, the mbuf usage 
> increases to the point where the system becomes unusable.
>
> Can anybody point me in the right direction?  How can I figure out what 
> is allocating a data mbuf every 200ms?
>
> Thanks,
>
> Alan
>
> dmesg output follows:
> OpenBSD 4.9-beta (GENERIC) #654: Wed Feb  9 14:50:38 MST 2011
>      [email protected]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 
> 586-class) 500 MHz
> cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
> real mem  = 536440832 (511MB)
> avail mem = 517533696 (493MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 20/70/03, BIOS32 rev. 0 @ 0xfac40
> pcibios0 at bios0: rev 2.0 @ 0xf0000/0x10000
> pcibios0: pcibios_get_intr_routing - function not supported
> pcibios0: PCI IRQ Routing information unavailable.
> pcibios0: PCI bus #0 is the last bus
> bios0: ROM list: 0xc8000/0xa800
> cpu0 at mainbus0: (uniprocessor)
> amdmsr0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> io address conflict 0x6100/0x100
> io address conflict 0x6200/0x200
> pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x31
> glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES
> vr0 at pci0 dev 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, 
> address 00:00:24:ca:b3:74
> ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 
> 0x004063, model 0x0034
> vr1 at pci0 dev 7 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5, 
> address 00:00:24:ca:b3:75
> ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 
> 0x004063, model 0x0034
> vr2 at pci0 dev 8 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 9, 
> address 00:00:24:ca:b3:76
> ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 
> 0x004063, model 0x0034
> vr3 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12, 
> address 00:00:24:ca:b3:77
> ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 
> 0x004063, model 0x0034
> glxpcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 
> 32-bit 3579545Hz timer, watchdog, gpio
> gpio0 at glxpcib0: 32 pins
> pciide0 at pci0 dev 20 function 2 "AMD CS5536 IDE" rev 0x01: DMA, 
> channel 0 wired to compatibility, channel 1 wired to compatibility
> wd0 at pciide0 channel 0 drive 1: <External Disk 0>
> wd0: 1-sector PIO, LBA48, 238475MB, 488397168 sectors
> wd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 ignored (disabled)
> ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 15, 
> version 1.0, legacy support
> ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 15
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1
> isa0 at glxpcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com0: console
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
> gpio1 at nsclpcsio0: 29 pins
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> usb1 at ohci0: USB revision 1.0
> uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1
> biomask e5c5 netmask ffe5 ttymask ffff
> mtrr: K6-family MTRR support (2 registers)
> ulpt0 at uhub1 port 1 configuration 1 interface 0 "HewLett Packard HP 
> LaserJet 1200" rev 1.10/1.00 addr 2
> ulpt0: using bi-directional mode
> vscsi0 at root
> scsibus0 at vscsi0: 256 targets
> softraid0 at root
> root on wd0a swap on wd0b dump on wd0b

Reply via email to