Hi,

I got a weird behavior of one of my OpenBSD boxes. It got a load of > 1
most of the time but top shows idle at 100%.

There is nothing much running on it right now. Apache just displays the
default page  at the moment and the log is almost empty. Bind got some
zones as secondary but thats about it.

Anyone got an idea?
Out out of 'top', 'systat vmstat', 'ps ax' and 'dmesg' are attached.

Thanks in advance.


Michael


load averages:  1.10,  0.97,  0.92
14:07:43
29 processes:  1 running, 27 idle, 1 on processor
CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100%
idle
Memory: Real: 12M/61M act/tot  Free: 428M  Swap: 0K/1028M used/tot

  PID USERNAME PRI NICE  SIZE   RES STATE    WAIT     TIME    CPU COMMAND
 9712 root       2    0  676K 1196K idle     select   0:06  0.00% sshd
17030 root       2    0 1152K 1300K sleep    select   0:01  0.00% sendmail
20043 www        2    0 1132K 1916K sleep    select   0:01  0.00% httpd
27588 _syslogd   2    0  352K  520K sleep    poll     0:00  0.00% syslogd
 2847 named      2    0 2120K 2660K sleep    select   0:00  0.00% named
 4256 _ntp       2    0  364K  616K idle     poll     0:00  0.00% ntpd
27823 root      28    0 3124K 2204K run      -        0:00  0.00% sshd
17278 root       2    0  404K  668K idle     select   0:00  0.00% cron
24324 root       2    0  420K  524K sleep    poll     0:00  0.00% ntpd
31351 root      18    0  656K  504K sleep    pause    0:00  0.00% ksh
    1 root      10    0  344K  328K idle     wait     0:00  0.00% init
26607 www        2    0 1168K 1344K idle     netcon   0:00  0.00% httpd
 6536 www        2    0 1164K 1364K idle     netcon   0:00  0.00% httpd
 7853 www        2    0 1156K 1296K idle     netcon   0:00  0.00% httpd
 4611 www        2    0 1160K 1260K idle     netcon   0:00  0.00% httpd
26683 www        2    0 1164K 1328K idle     netcon   0:00  0.00% httpd
11998 www        2    0 1168K 1340K idle     netcon   0:00  0.00% httpd
29875 root      28    0  380K 1012K onproc   -        0:00  0.00% top



    1 users    Load  1.14  0.99  0.93                  Sun Feb 11
14:08:16 2007

            memory totals (in KB)            PAGING   SWAPPING
Interrupts
           real   virtual     free           in  out   in  out      230
total
Active    12116     12116   438564   ops                              2 rl0
All       62876     62876  1490816   pages
pciide0
                                                                    100
clock
Proc:r  d  s  w    Csw   Trp   Sys   Int   Sof  Flt       forks     128 rtc
           6         6    16    66   230     2   24       fkppw
                                                          fksvm
   0.0%Int   0.0%Sys   0.0%Usr   0.0%Nic 100.0%Idle       pwait
|    |    |    |    |    |    |    |    |    |    |       relck
                                                          rlkok
                                                          noram
Namei         Sys-cache    Proc-cache    No-cache         ndcpy
    Calls     hits    %    hits     %    miss   %         fltcp
       14       14  100                                   zfod
                                                          cow
Disks   wd0   cd0   fd0                               128 fmin
seeks                                                 170 ftarg
xfers                                                     itarg
Kbyte                                                  92 wired
  sec                                                     pdfre



puffy1:/var/log # ps ax
  PID TT   STAT      TIME COMMAND
    1 ??  Is      0:00.04 /sbin/init
20309 ??  Is      0:00.00 syslogd: [priv] (syslogd)
27588 ??  I       0:00.58 syslogd -a /var/named/dev/log -a
/var/empty/dev/log
 9680 ??  Is      0:00.00 named: [priv] (named)
 2847 ??  I       0:00.55 named
 4256 ??  Is      0:00.45 ntpd: ntp engine (ntpd)
24324 ??  Is      0:00.05 ntpd: [priv] (ntpd)
20043 ??  Is      0:01.03 httpd: parent [chroot /var/www] (httpd)
 6536 ??  I       0:00.02 httpd: child (httpd)
 7853 ??  I       0:00.02 httpd: child (httpd)
26607 ??  I       0:00.02 httpd: child (httpd)
26683 ??  I       0:00.02 httpd: child (httpd)
 4611 ??  I       0:00.02 httpd: child (httpd)
17030 ??  Is      0:01.83 sendmail: accepting connections (sendmail)
 9712 ??  Is      0:06.28 /usr/sbin/sshd
17278 ??  Is      0:00.17 cron
11998 ??  I       0:00.02 httpd: child (httpd)
27873 ??  I       0:00.01 httpd: child (httpd)
 8725 ??  I       0:00.00 httpd: child (httpd)
25436 ??  I       0:00.00 httpd: child (httpd)
25967 ??  I       0:00.00 httpd: child (httpd)
27823 ??  Is      0:00.19 sshd: [EMAIL PROTECTED] (sshd)
31351 p0  Is      0:00.03 -ksh (ksh)
25539 p0  R+      0:00.00 ps -ax
 7305 C0  Is+     0:00.00 /usr/libexec/getty Pc ttyC0
 7852 C1  Is+     0:00.00 /usr/libexec/getty Pc ttyC1
32420 C2  Is+     0:00.00 /usr/libexec/getty Pc ttyC2
10427 C3  Is+     0:00.00 /usr/libexec/getty Pc ttyC3
  701 C5  Is+     0:00.00 /usr/libexec/getty Pc ttyC5



puffy1:/var/log # dmesg
OpenBSD 4.0-stable (GENERIC) #0: Tue Feb  6 09:31:07 CET 2007
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 1.80GHz ("GenuineIntel" 686-class) 1.80 GHz
cpu0:
FPU,V86,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,CNXT-ID
real mem  = 527990784 (515616K)
avail mem = 473669632 (462568K)
using 4256 buffers containing 26501120 bytes (25880K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(bb) BIOS, date 12/05/02, BIOS32 rev. 0 @
0xfb2e0, SMBIOS rev. 2.2 @ 0xf0000 (35 entries)
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf84
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde90/224 (12 entries)
pcibios0: PCI Exclusive IRQs: 5 7 10 11 12
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371SB ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xb200! 0xcc000/0x8000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82845G/GL" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82845G/GL Video" rev 0x03: aperture
at 0xe0000000, size 0x8000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x02: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x02: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x02: irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x02: irq 12
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
ppb0 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x82
pci1 at ppb0 bus 1
rl0 at pci1 dev 3 function 0 "Realtek 8139" rev 0x10: irq 11, address
00:e0:4c:96:e5:d6
rlphy0 at rl0 phy 0: RTL internal PHY
ichpcib0 at pci0 dev 31 function 0 "Intel 82801DB LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801DB IDE" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <Maxtor 6E040L0>
wd0: 16-sector PIO, LBA, 39205MB, 80293248 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, CD-ROM GCR-8522B, 1.00> SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 0, DMA mode 1
ichiic0 at pci0 dev 31 function 3 "Intel 82801DB SMBus" rev 0x02: irq 7
iic0 at ichiic0
isa0 at ichpcib0
isadma0 at isa0
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
lm0 at isa0 port 0x290/8: W83627HF
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask fffd netmask fffd ttymask ffff
pctr: user-level cycle counter enabled
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

Reply via email to