On 2009-06-06, Lars Kotthoff <li...@larsko.org> wrote:
> Hi all,
>
>  after upgrading to 4.5, I've had problems with the memory usage of the box
> increasing continuously until if starts to swap and performance becomes so bad
> that I have to reboot the box. This does not seem to be related to a specific
> program, at least the usual tools don't indicate that one process uses a lot 
> of
> memory or that its memory usage increases steadily.
>
> Here's a picture of what I'm talking about -- http://www.larsko.net/mem.jpg
> As you can see, memory usage increases quite significantly. The Wed to Sat 
> part
> is what it's like now, in the part before there was some other stuff going on 
> as
> well. This didn't occur with 4.4.

please send "vmstat -m" and "netstat -m" at a point when the memory
use is medium or high.

if you're using symon to collect your stats, it might be worth
recording and plotting the mbuf stats it can save.

what's the box doing?


> Does anybody have any suggestions what could cause this and how to fix it? 
> Dmesg
> below.
>
> Thanks,
>
> Lars
>
>
> OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009
>     dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Geode(TM) Integrated Processor by National Semi ("Geode by NSC" 
> 586-class) 334 MHz
> cpu0: FPU,DE,PSE,TSC,MSR,CX8,PGE,CMOV,MMX
> real mem  = 259350528 (247MB)
> avail mem = 242470912 (231MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 09/01/06, BIOS32 rev. 0 @ 0xfadd0, 
> SMBIOS rev. 2.2 @ 0xf0000 (28 entries)
> bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 09/01/2006
> apm0 at bios0: Power Management spec V1.2 (slowidle)
> apm0: AC on, battery charge unknown
> acpi at bios0 function 0x0 not configured
> pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdfb4
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf20/144 (7 entries)
> pcibios0: bad IRQ table checksum
> pcibios0: PCI BIOS has 7 Interrupt Routing table entries
> pcibios0: PCI Exclusive IRQs: 5 7 10 11
> pcibios0: no compatible PCI ICU found
> pcibios0: Warning, unable to fix up PCI interrupt routing
> pcibios0: PCI bus #0 is the last bus
> bios0: ROM list: 0xc0000/0x8000 0xef000/0x1000!
> cpu0 at mainbus0: (uniprocessor)
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 1 function 0 "NS CS5535 Host" rev 0x21
> vga1 at pci0 dev 1 function 1 "NS CS5535 VIDEO" rev 0x00
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> pcib0 at pci0 dev 15 function 0 "NS CS5535 ISA" rev 0x13
> pciide0 at pci0 dev 15 function 2 "NS CS5535 IDE" rev 0x00: DMA, channel 0 
> wired to compatibility
> wd0 at pciide0 channel 0 drive 0: <SAMSUNG HM160HC>
> wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
> ohci0 at pci0 dev 15 function 4 "NS CS5535 USB" rev 0x06: irq 10, version 
> 1.0, legacy support
> ohci1 at pci0 dev 15 function 5 "NS CS5535 USB" rev 0x06: irq 7, version 1.0, 
> legacy support
> rl0 at pci0 dev 18 function 0 "Realtek 8139" rev 0x10: irq 11, address 
> 00:00:00:00:00:00
> rlphy0 at rl0 phy 0: RTL internal PHY
> rl1 at pci0 dev 19 function 0 "Realtek 8139" rev 0x10: irq 5, address 
> 00:00:00:00:00:00
> rlphy1 at rl1 phy 0: RTL internal PHY
> rl2 at pci0 dev 20 function 0 "Realtek 8139" rev 0x10: irq 10, address 
> 00:00:00:00:00:00
> rlphy2 at rl2 phy 0: RTL internal PHY
> ral0 at pci0 dev 21 function 0 "Ralink RT2860" rev 0x00: irq 11, address 
> 00:00:00:00:00:00
> ral0: MAC/BBP RT2860 (rev 0x0101), RF RT2820 (MIMO 2T3R)
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: 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
> it0 at isa0 port 0x2e/2: IT8712F rev 7, EC port 0x290
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0 "NS OHCI root hub" rev 1.00/1.00 addr 1
> usb1 at ohci1: USB revision 1.0
> uhub1 at usb1 "NS OHCI root hub" rev 1.00/1.00 addr 1
> biomask f7cd netmask ffed ttymask ffff
> softraid0 at root
> root on wd0a swap on wd0b dump on wd0b

Reply via email to