Hi
I have router running with one 4 port starfire adapter. Everything
runs fine except that mbuf value keeps going up. After all mbufs are
used machine crashes. I did upped the number to 40960 so I don't need
to reboot it every ~6 hours.
I did following when I did debug situation:
I did disable usb from machine bios and kernel with config because irq
with sf2 was same as usb.
I did disable plug and play os from bios.
Those things did slower down mbufs rate.
Computer is running with 2 cpus P3 1Ghz in Asus CUV4X-D motherboard
(bios 1016). Currently I am running smp kernel. I have same problem
single cpu kernel. Only difference is that mbufs do not raise so fast.
If you have any ideas I really appreciate them.
sf0 is private internal interface, only snmp and ssh access
sf1 is dmz interface with public ip
sf2 is public interface
sf3 is not in use
-Esa
# vmstat -i
interrupt total rate
irq0/clock 30732971 199
irq0/ipi 15362734 99
irq80/pciide0 3959612
irq96/sf0 1248610
irq97/sf177902418 506
irq98/sf277148496 501
irq99/sf3 20
irq129/pckbc017380
Total 201669181 1310
# netstat -m
14047 mbufs in use:
14040 mbufs allocated to data
3 mbufs allocated to packet headers
4 mbufs allocated to socket names and addresses
14039/14090/40960 mbuf clusters in use (current/peak/max)
31708 Kbytes allocated to network (-32% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
# w
10:39PM up 1 day, 18:45, 2 users, load averages: 0.10, 0.11, 0.08
dmesg:
OpenBSD 4.2 (GENERIC.MP) #252: Tue Aug 28 10:53:04 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 1.01 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem = 536428544 (511MB)
avail mem = 511004672 (487MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/18/02, BIOS32 rev. 0 @
0xf0b20, SMBIOS rev. 2.3 @ 0xf2ab0 (49 entries)
bios0: vendor Award Software, Inc. version "ASUS CUV4X-D ACPI BIOS
Revision 1016" date 06/18/2002
bios0: ASUSTeK Computer INC. CUV4X-D
apm0 at bios0: Power Management spec V1.2 (BIOS mgmt disabled)
apm0: APM power management enable: unrecognized device ID (9)
apm0: APM engage (device 1): power management disabled (1)
apm0: AC on, battery charge unknown
apm0: flags b0102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1362
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf12d0/144 (7 entries)
pcibios0: PCI Interrupt Router at 000:04:0 ("VIA VT82C586 ISA" rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0x8000
mainbus0: Intel MP Specification (Version 1.4)
cpu0 at mainbus0: apid 3 (boot processor)
cpu0: apic clock running at 133 MHz
cpu1 at mainbus0: apid 0 (application processor)
cpu1: Intel Pentium III ("GenuineIntel" 686-class) 1.01 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
mainbus0: bus 0 is type PCI
mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type PCI
mainbus0: bus 3 is type ISA
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
ioapic0: conflicting map entries for pin 0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT82C691 PCI" rev 0xc4
ppb0 at pci0 dev 1 function 0 "VIA VT82C598 AGP" rev 0x00
pci1 at ppb0 bus 1
pcib0 at pci0 dev 4 function 0 "VIA VT82C686 ISA" rev 0x40
pciide0 at pci0 dev 4 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0:
wd0: 1-sector PIO, LBA, 976MB, 2000880 sectors
wd0(pciide0:0:0): using PIO mode 4
pciide0: channel 1 disabled (no drives)
"VIA VT83C572 USB" rev 0x16 at pci0 dev 4 function 2 not configured
"VIA VT83C572 USB" rev 0x16 at pci0 dev 4 function 3 not configured
viaenv0 at pci0 dev 4 function 4 "VIA VT82C686 SMBus" rev 0x40: HWM
disabled: 24-bit timer at 3579545Hz
vga1 at pci0 dev 10 function 0 "ATI Mach64 GU" rev 0x9a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 12 function 0 "DEC 21154 PCI-PCI" rev 0x02
pci_intr_map: bus 0 dev 12 func 0 pin 1; line 12
pci_intr_map: no MP mapping found
pci_intr_map: bus 0 dev 12 func 0 pin 2; line 10
pci_intr_map: no MP mapping found
pci_intr_map: bus 0 dev 12 func 0 pin 3; line 4
pci_intr_map: no MP mapping found
pci_intr_map: bus 0 dev 12 func 0 pin 4; line 10
pci_intr_map: no MP mapping found
pci2 at ppb1 bus 2
sf0 at pci2 dev 4 function 0 "Adaptec AIC-6915" rev 0x03: apic 2 int
16 (irq 11), address 00:00:d1:ee:77:b1
sqphy0 at sf0 phy 1: Seeq 80220 10/100 PHY, rev. 1
sf1 at pci2