On Fri, Jul 02, 2010 at 10:14:37PM +0200, Jurjen Oskam wrote:
> Hi everyone,
> 
> I still haven't upgraded to 4.7 yet (I will do soon), so I'm still on 4.6.
> On my home server, I run symon and syweb to monitor several stats about my
> machine. I noticed that since about 3-4 months ago, the mbuf usage started
> to to increase and never decrease. The mbuf type responsible for this is
> mt_soname. The other thing is that this machine just sometimes reboots, out
> of nowhere. This may or not be connected to the mbufs.
> 
> This sudden increase in mt_soname mbuf coincides with my replacing an
> external ADSL modem with an internal one (a Traverse PCI card, appearing as

This would appear to indicate a driver error, if it coincided with
replacing hardware; the place to start looking would be the relevant
driver (re, in this case, according to ``man -k 8139C'')

Banan.


> an RTL8139C+ to the system). The type of DSL connection changed as well, I
> now use dhclient to get an IP address.
> 
> Can I investigate where these mbufs are used? As I said, I'll upgrade to
> 4.7 soon, so I primarily see this as a learning opportunity for me.
> 
> Thanks,
> 
> 
> 176 mbufs in use:
>         130 mbufs allocated to data
>         4 mbufs allocated to packet headers
>         42 mbufs allocated to socket names and addresses
> 129/196/6144 mbuf 2048 byte clusters in use (current/peak/max)
> 0/8/6144 mbuf 4096 byte clusters in use (current/peak/max)
> 0/8/6144 mbuf 8192 byte clusters in use (current/peak/max)
> 0/8/6144 mbuf 9216 byte clusters in use (current/peak/max)
> 0/8/6144 mbuf 12288 byte clusters in use (current/peak/max)
> 0/8/6144 mbuf 16384 byte clusters in use (current/peak/max)
> 0/8/6144 mbuf 65536 byte clusters in use (current/peak/max)
> 764 Kbytes allocated to network (39% in use)
> 0 requests for memory denied
> 0 requests for memory delayed
> 0 calls to protocol drain routines
> 
> 
> OpenBSD 4.6-stable (GENERIC.MP) #1: Mon Apr  5 13:05:43 CEST 2010
>     r...@calvin.stupendous.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 2145910784 (2046MB)
> avail mem = 2071273472 (1975MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf06c0 (56 entries)
> bios0: vendor American Megatrends Inc. version "0403" date 09/02/2008
> bios0: ASUSTeK Computer INC. P5BV-C
> acpi0 at bios0: rev 0
> acpi0: tables DSDT FACP APIC MCFG OEMB HPET EINJ BERT ERST HEST
> acpi0: wakeup devices P0P2(S4) P0P3(S4) P0P1(S4) PS2K(S4) PS2M(S4) UAR1(S4) 
> UAR2(S4) USB0(S4) USB1(S4) USB2(S4) USB3(S4) EUSB(S4) MC97(S4) P0P4(S4) 
> P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) SLPB(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM)2 Quad CPU Q8300 @ 2.50GHz, 2500.04 MHz
> cpu0: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR,NXE,LONG
> cpu0: 2MB 64b/line 8-way L2 cache
> cpu0: apic clock running at 333MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM)2 Quad CPU Q8300 @ 2.50GHz, 2499.72 MHz
> cpu1: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR,NXE,LONG
> cpu1: 2MB 64b/line 8-way L2 cache
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: Intel(R) Core(TM)2 Quad CPU Q8300 @ 2.50GHz, 2499.72 MHz
> cpu2: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR,NXE,LONG
> cpu2: 2MB 64b/line 8-way L2 cache
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Intel(R) Core(TM)2 Quad CPU Q8300 @ 2.50GHz, 2499.72 MHz
> cpu3: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR,NXE,LONG
> cpu3: 2MB 64b/line 8-way L2 cache
> ioapic0 at mainbus0 apid 4 pa 0xfec00000, version 20, 24 pins
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 5 (P0P2)
> acpiprt2 at acpi0: bus -1 (P0P3)
> acpiprt3 at acpi0: bus 1 (P0P1)
> acpiprt4 at acpi0: bus 4 (P0P4)
> acpiprt5 at acpi0: bus -1 (P0P5)
> acpiprt6 at acpi0: bus -1 (P0P6)
> acpiprt7 at acpi0: bus -1 (P0P7)
> acpiprt8 at acpi0: bus 3 (P0P8)
> acpiprt9 at acpi0: bus 2 (P0P9)
> acpicpu0 at acpi0: PSS
> acpicpu1 at acpi0: PSS
> acpicpu2 at acpi0: PSS
> acpicpu3 at acpi0: PSS
> acpibtn0 at acpi0: SLPB
> acpibtn1 at acpi0: PWRB
> cpu0: Enhanced SpeedStep 2499 MHz: speeds: 2497, 1998 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel 3200/3210 Host" rev 0x01
> ppb0 at pci0 dev 1 function 0 "Intel 3200/3210 PCIE" rev 0x01: apic 4 int 16 
> (irq 11)
> pci1 at ppb0 bus 5
> ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic 4 int 16 
> (irq 11)
> pci2 at ppb1 bus 4
> mpi0 at pci2 dev 0 function 0 "Symbios Logic SAS1064E" rev 0x08: apic 4 int 
> 16 (irq 11)
> scsibus0 at mpi0: 112 targets
> sd0 at scsibus0 targ 0 lun 0: <LSILOGIC, Logical Volume, 3000> SCSI2 0/direct 
> fixed
> sd0: 305175MB, 512 bytes/sec, 624998400 sec total
> sd1 at scsibus0 targ 2 lun 0: <LSILOGIC, Logical Volume, 3000> SCSI2 0/direct 
> fixed
> sd1: 29563MB, 512 bytes/sec, 60545024 sec total
> ppb2 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 4 int 16 
> (irq 11)
> pci3 at ppb2 bus 3
> mskc0 at pci3 dev 0 function 0 "Marvell Yukon 88E8056" rev 0x14, Yukon-2 EC 
> Ultra rev. B0 (0x3): apic 4 int 16 (irq 11)
> msk0 at mskc0 port A: address 00:26:18:65:bc:ab
> eephy0 at msk0 phy 0: 88E1149 Gigabit PHY, rev. 1
> ppb3 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: apic 4 int 17 
> (irq 10)
> pci4 at ppb3 bus 2
> mskc1 at pci4 dev 0 function 0 "Marvell Yukon 88E8056" rev 0x14, Yukon-2 EC 
> Ultra rev. B0 (0x3): apic 4 int 17 (irq 10)
> msk1 at mskc1 port A: address 00:26:18:65:ba:d5
> eephy1 at msk1 phy 0: 88E1149 Gigabit PHY, rev. 1
> uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 4 int 23 
> (irq 5)
> uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 4 int 19 
> (irq 7)
> ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 4 int 23 
> (irq 5)
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb4 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1
> pci5 at ppb4 bus 1
> rl0 at pci5 dev 0 function 0 "Realtek 8139" rev 0x10: apic 4 int 21 (irq 10), 
> address 00:e0:4d:52:a8:d1
> rlphy0 at rl0 phy 0: RTL internal PHY
> ral0 at pci5 dev 1 function 0 "Ralink RT2561S" rev 0x00: apic 4 int 22 (irq 
> 6), address 00:11:6b:3d:7f:6a
> ral0: MAC/BBP RT2561C, RF RT2527
> re0 at pci5 dev 2 function 0 "Realtek 8139" rev 0x20: RTL8139C+ (0x7480), 
> apic 4 int 23 (irq 5), address 00:0a:fa:20:04:c8
> rlphy1 at re0 phy 0: RTL internal PHY
> vga1 at pci5 dev 3 function 0 "XGI Technology Volari Z7" rev 0x00
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> pcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01
> ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: apic 4 int 
> 19 (irq 7)
> iic0 at ichiic0
> lm1 at iic0 addr 0x2d: W83627DHG
> spdmem0 at iic0 addr 0x51: 1GB DDR2 SDRAM ECC PC2-6400CL5
> spdmem1 at iic0 addr 0x53: 1GB DDR2 SDRAM ECC PC2-6400CL5
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> 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, using wsdisplay0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> wbsio0 at isa0 port 0x2e/2: W83627DHG rev 0x25
> lm2 at wbsio0 port 0x290/8: W83627DHG
> lm1 detached
> mtrr: Pentium Pro MTRR support
> softraid0 at root
> root on sd1a swap on sd1b dump on sd1b
> WARNING: / was not properly unmounted
> -- 
> Jurjen Oskam
> 
> Savage's Law of Expediency:
>         You want it bad, you'll get it bad.

Reply via email to