Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2001 16:26:17 -0700
From:      Jason DiCioccio <Jason.DiCioccio@Epylon.com>
To:        "'freebsd-stable@freebsd.org'" <freebsd-stable@freebsd.org>
Subject:   Unexplained Load Averages
Message-ID:  <657B20E93E93D4118F9700D0B73CE3EA0166D858@goofy.epylon.lan>

next in thread | raw e-mail | index | archive | help
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello!
  My friend and I have both been having
issues regarding unexplained load on
our machines.  His was the culprit
today and I finally decided to send it
in to the list.  Below is some output
which shows the 2.00 load average
(dual CPU) and the lack of processes
to explain it.  I think it's probably
something in the kernel taking the CPU,
however I know of no way to check.

I had the same problems on my machine
about 5 days ago (4.3-RC) except it was
1.00 (single processor) instead.

I am assuming that there are others
having this same problem out there and
would love to get an answer to this.

(Or perhaps it's been fixed? It's very
sporadic(sp?))

I also checked for trojaned binaries in
case someone had put a rootkit on the
machine but could find no traces of
one present.  I even checked
/proc/*/status manually and they
matched up with what ps was reporting.
I am doubting this is a security issue
and assuming that again, there is something
in the kernel causing this load.

Any help would appreciated.

Thanks in advance,
- -Jason DiCioccio


- ----------------------------------------------------------------------
- --------
spritle% uptime                                                      
      (~)
 4:10PM  up 2 days, 23:57, 2 users, load averages: 2.00, 2.00, 2.00

last pid: 10421;  load averages:  2.00,  2.00,  2.00    up 2+23:58:16
 16:11:21
34 processes:  1 running, 33 sleeping
CPU states:     % user,     % nice,     % system,     % interrupt,   
 % idle
Mem: 32M Active, 168M Inact, 30M Wired, 1396K Cache, 17M Buf, 19M
Free
Swap: 512M Total, 512M Free
 
  PID USERNAME     PRI NICE  SIZE    RES STATE  C   TIME   WCPU   
CPU COMMAND
10421 calvin        36   0  1832K  1084K CPU1   1   0:00 17.00% 
0.83% top
  238 zope           2   0 12828K 12168K poll   1   1:46  0.00% 
0.00% python
   96 root           2   0  3596K  3228K select 1   0:22  0.00% 
0.00% named
  221 root           2   0  1848K  1252K select 0   0:17  0.00% 
0.00% sshd
  184 root           2   0  3292K  2436K select 0   0:17  0.00% 
0.00% httpd

spritle% iostat                                                      
      (~)
      tty             da0              da1              da2          
  cpu
 tin tout  KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s  us ni sy
in id
   0    3  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   0  0  0
 1 99

spritle% vmstat                                                      
      (~)
 procs      memory     page                    disks     faults     
cpu
 r b w     avm   fre  flt  re  pi  po  fr  sr da0 da1   in   sy  cs
us sy id
 0 0 0   35584 21392    4   0   0   0   3   0   0   0  230   87   5 
0  1 99

spritle% vmstat -m                                                   
      (~) Memory statistics by bucket size
Size   In Use   Free   Requests  HighWater  Couldfree
  16      460   1076     178869       0       1280
  32      194    574      33021       0        640
  64     5983   1249     942496       0        320
 128     1274    582      59746       0        160
 256     5533     99     485449       0         80
 512       42     38        365       0         40
  1K      317    831      24699       0         20
  2K       24     52        957       0         10
  4K       18      1        527       0          5
  8K        8      1         71       0          5
 16K        5      0          5       0          5
 32K        2      0          2       0          5
 64K        5      0          5       0          5
128K        1      0          1       0          5
256K        1      0          1       0          5

Memory usage type by bucket size
Size  Type(s)
  16  MD disk, kld, proc-args, atexit, temp, sysctl, bus, rman,
soname,
          pcb, mount, vnodes, ether_multi, routetbl, IpFw/IpAcct,
p1003.1b,
          ACD driver, devbuf, isa_devlist, atkbddev
  32  linux, kld, sigio, proc-args, temp, pgrp, proc, subproc,
sysctl, bus,
          eventhandler, SWAP, soname, pcb, cluster_save buffer,
vnodes, BPF,
          ifaddr, ether_multi, routetbl, in_multi, tseg_qent, ATAPI
generic,
          devbuf
  64  file, proc-args, lockf, temp, session, subproc, bus,
eventhandler,
          rman, pcb, vfscache, cluster_save buffer, vnodes, ifaddr,
          ether_multi, routetbl, isadev, devbuf
 128  ppbusdev, kld, timecounter, dev_t, proc-args, zombie, temp,
cred,
          bus, ttys, soname, vfscache, mount, vnodes, ifaddr,
routetbl, ZONE,
          ATAPI generic, devbuf
 256  file desc, proc-args, temp, proc, subproc, bus, ttys, vfscache,
          vnodes, ifaddr, routetbl, IpFw/IpAcct, NFS daemon, FFS
node,
          ACD driver, devbuf, isa_devlist
 512  file desc, temp, ioctlops, ptys, BIO buffer, mount, UFS mount,
          ATA generic, devbuf
  1K  MD disk, file desc, temp, proc, bus, ioctlops, BIO buffer,
          NQNFS Lease, devbuf, isa_devlist
  2K  kld, file desc, temp, bus, pcb, BIO buffer, UFS mount, ACD
driver,
          devbuf, mbuf
  4K  kld, file desc, temp, devbuf, memdesc
  8K  kld, file desc, temp, bus, UFS mount, devbuf
 16K  kld, devbuf
 32K  temp, MSDOSFS mount
 64K  ISOFS mount, kld, NFS hash, UFS ihash, VM pgdata
128K  vfscache
256K  SWAP

Memory statistics by type                          Type  Kern
        Type  InUse MemUse HighUse  Limit Requests Limit Limit
Size(s)
        linux     6     1K      1K 42658K        6    0     0  32
      MD disk     2     2K      2K 42658K        2    0     0  16,1K
     ppbusdev     3     1K      1K 42658K        3    0     0  128
  ISOFS mount     1    64K     64K 42658K        1    0     0  64K
          kld    10    85K     91K 42658K       52    0     0 
16,32,128,2K,4K,8K,16K,64K
  timecounter     5     1K      1K 42658K        5    0     0  128
        dev_t   484    61K     61K 42658K      484    0     0  128
    file desc    53    24K     47K 42658K    10583    0     0 
256,512,1K,2K,4K,8K
         file   188    12K     74K 42658K   353787    0     0  64
        sigio     1     1K      1K 42658K       23    0     0  32
    proc-args    25     2K      3K 42658K    28113    0     0 
16,32,64,128,256        zombie     0     0K      1K 42658K    10386  
 0     0  128
       atexit     1     1K      1K 42658K        1    0     0  16
        lockf     3     1K      1K 42658K    42127    0     0  64
         temp   153    32K     62K 42658K    10851    0     0 
16,32,64,128,256,512,1K,2K,4K,8K,32K
         pgrp    21     1K      1K 42658K     5718    0     0  32
      session    19     2K      2K 42658K     5587    0     0  64
         proc    10     3K      3K 42658K     4414    0     0 
32,256,1K
      subproc    88     7K     11K 42658K    25957    0     0 
32,64,256
         cred    21     3K      7K 42658K    11830    0     0  128
       sysctl     0     0K      1K 42658K     4179    0     0  16,32
          bus   357    37K     37K 42658K      504    0     0 
16,32,64,128,256,1K,2K,8K
 eventhandler    14     1K      1K 42658K       14    0     0  32,64
         SWAP     2   173K    173K 42658K        2    0     0 
32,256K
     ioctlops     0     0K      1K 42658K        6    0     0  512,1K
         rman    50     3K      3K 42658K       71    0     0  16,64
         ttys   328    42K     52K 42658K     1342    0     0 
128,256
         ptys     5     3K      3K 42658K        5    0     0  512
       soname     5     1K      1K 42658K   155903    0     0 
16,32,128
          pcb    28     5K     21K 42658K    18013    0     0 
16,32,64,2K
   BIO buffer    52    59K    876K 42658K    24071    0     0 
512,1K,2K
     vfscache  5787   510K    575K 42658K   531620    0     0 
64,128,256,128K
cluster_save buffer     0     0K      1K 42658K      409    0     0 
32,64
        mount     5     3K      3K 42658K        7    0     0 
16,128,512
       vnodes    25     6K      6K 42658K      349    0     0 
16,32,64,128,256
MSDOSFS mount     1    32K     32K 42658K        1    0     0  32K
          BPF     4     1K      1K 42658K        4    0     0  32
       ifaddr    14     2K      2K 42658K       14    0     0 
32,64,128,256
  ether_multi     7     1K      1K 42658K        7    0     0 
16,32,64
     routetbl    37     5K    144K 42658K     5753    0     0 
16,32,64,128,256
     in_multi     2     1K      1K 42658K        2    0     0  32
  IpFw/IpAcct     6     1K      1K 42658K        6    0     0  16,256
    tseg_qent     0     0K      1K 42658K     7104    0     0  32
   NFS daemon     1     1K      1K 42658K        1    0     0  256
  NQNFS Lease     1     1K      1K 42658K        1    0     0  1K
     NFS hash     1    64K     64K 42658K        1    0     0  64K
     p1003.1b     1     1K      1K 42658K        1    0     0  16
     FFS node  5386  1347K   1347K 42658K   465501    0     0  256
    UFS ihash     1    64K     64K 42658K        1    0     0  64K
    UFS mount    12    36K     36K 42658K       12    0     0 
512,2K,8K
    VM pgdata     1    64K     64K 42658K        1    0     0  64K
         ZONE    19     3K      3K 42658K       19    0     0  128
       isadev     9     1K      1K 42658K        9    0     0  64
  ATA generic     0     1K      1K 42658K        1    0     0  512
ATAPI generic     1     1K      1K 42658K        2    0     0  32,128
   ACD driver     3     3K      3K 42658K        3    0     0 
16,256,2K
       devbuf   589   445K    446K 42658K     1326    0     0 
16,32,64,128,256,512,1K,2K,4K,8K,16K
         mbuf     1     2K      2K 42658K        1    0     0  2K
      memdesc     1     4K      4K 42658K        1    0     0  4K
  isa_devlist    15     2K      2K 42658K       15    0     0 
16,256,1K
     atkbddev     2     1K      1K 42658K        2    0     0  16
 
Memory Totals:  In Use    Free    Requests
                 3204K   1177K     1726214
spritle%                                                             
      (~)

spritle% dmesg                                                       
      (~) Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights
reserved.
FreeBSD 4.0-RELEASE #6: Sat Oct 14 13:21:49 PDT 2000
    root@spritle.mediumlook.com:/usr/src/sys/compile/NETFINITY
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium Pro (198.95-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x619  Stepping = 9
 
Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,M
CA,CMOV>real memory  = 268435456 (262144K bytes)
avail memory = 257236992 (251208K bytes)
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfec08000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfec08000
 io0 (APIC): apic id: 14, version: 0x000f0011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc0308000.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82454KX/GX (Orion) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82375EB PCI-EISA bridge> at device 14.0 on pci0
eisa0: <EISA bus> on isab0
mainboard0: <INT31c0 (System Board)> on eisa0 slot 0
isa0: <ISA bus> on isab0
chip0: <> mem
0xfffffc00-0xffffffff,0xfffffc00-0xffffffff,0xfffffc00-0xffffffff,0xff
fffc00-0xffffffff,0xfffffc00-0xffffffff,0xfec01000-0xfec013ff at
device 15.0 on pci0
chip1: <Intel 82453KX/GX (Orion) PCI memory controller> at device
20.0 on pci0
pcib1: <Intel 82454KX/GX (Orion) host to PCI bridge> on motherboard
pci1: <PCI bus> on pcib1
ahc0: <Adaptec aic7880 Ultra SCSI adapter> port 0xfc00-0xfcff mem
0xfe8ff000-0xfe8fffff irq 11 at device 11.0 on pci1
ahc0: Using left over BIOS settings
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc1: <Adaptec aic7880 Ultra SCSI adapter> port 0xf800-0xf8ff mem
0xfe8fe000-0xfe8fefff irq 9 at device 12.0 on pci1
ahc1: Using left over BIOS settings
ahc1: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xf480-0xf4ff mem
0xfe8fdc00-0xfe8fdc7f irq 10 at device 14.0 on pci1
xl0: Ethernet address: 00:50:da:28:b9:64
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
plip0: <PLIP network interface> on ppbus0
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
IP packet filtering initialized, divert enabled, rule-based
forwarding disabled, default to deny, logging disabled
SMP: AP CPU #1 Launched!
acd0: CDROM <HITACHI CDR-8130> at ata0-master using BIOSPIO
Waiting 7 seconds for SCSI devices to settle
pass1 at ahc0 bus 0 target 15 lun 0
pass1: <SDR GEM200 2> Fixed Processor SCSI-2 device
pass1: 3.300MB/s transfers
pass4 at ahc1 bus 0 target 15 lun 0
pass4: <SDR GEM200 2> Fixed Processor SCSI-2 device
pass4: 3.300MB/s transfers
da1 at ahc1 bus 0 target 0 lun 0
da1: <IBM-PCCO ST39102LC     !# B203> Fixed Direct Access SCSI-2
device
da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged
Queueing Enabled
da1: 8678MB (17774160 512 byte sectors: 64H 32S/T 8678C)
da2 at ahc1 bus 0 target 1 lun 0
da2: <IBM-PCCO ST39102LC     !# B203> Fixed Direct Access SCSI-2
device
da2: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged
Queueing Enabled
da2: 8678MB (17774160 512 byte sectors: 64H 32S/T 8678C)
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM-PCCO ST39102LC     !# B203> Fixed Direct Access SCSI-2
device
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged
Queueing Enabled
da0: 8678MB (17774160 512 byte sectors: 64H 32S/T 8678C)
Mounting root from ufs:/dev/da0s1a
WARNING: / was not properly dismounted

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>;

iQA/AwUBOvx18lCmU62pemyaEQJ7QwCfUHSLVwvIPWpTDogXlQ5xZvIpII0An2LV
Qu04RQl4VgksDNZ7fQ8dY/OJ
=BHMD
-----END PGP SIGNATURE-----

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?657B20E93E93D4118F9700D0B73CE3EA0166D858>