Newsgroups: bit.listserv.aix-l
Date:         Thu, 8 Oct 1992 11:20:02 -0400
From:         "'H. Morrow Long'" <long-morrow@CS.YALE.EDU>
Subject:      on kproc (with PID 514) is always running, accumulating cputime

I have observed the following on two different RS/6000s running AIX 3.2:


USER       PID %CPU %MEM   SZ  RSS    TTY STAT    STIME  TIME COMMAND
root         0  0.2  0.0    8    8      - S      Oct 01 16:48 swapper
root         1  0.1  1.0  248  140      - S      Oct 01 14:11 /etc/init
root       514  0.1  0.0   12    8      - R      Dec 31 8865:30 kproc
root       771  0.0  0.0   16   16      - S      Dec 31 15:08 kproc
root      1028  0.0  0.0   16   16      - S      Dec 31  0:00 kproc
root      1387  1.0  1.0 1048  148      - S      Oct 01 97:05 /usr/etc/ypserv
root      1655  0.0  0.0  120   20      - S      Oct 01  0:08 /usr/etc/biod 6
root      2171  0.0  0.0   16    8      - S      Oct 01  0:00 kproc
root      2373  0.0  0.0  136  104      - S      Oct 01  0:29 /etc/syslogd
root      2570  0.0  0.0   72   28      - S      Oct 01  3:45 /etc/syncd 60
root      2973  0.1  1.0  152  144      - S      Oct 01  6:49 /etc/cron
root      3114  0.0  0.0   24   24      - S      Oct 01  0:08 kproc
root      3340  0.0  0.0  260   12      - S      Oct 01  0:01 /usr/lib/errdemon
root      3720  0.0  0.0   16    8      - S      Oct 01  0:00 kproc
root      3912  0.1  0.0  208   92      - S      Oct 01 11:00 /etc/routed
root      4300  0.0  0.0   16    8      - S      Oct 01  0:01 kproc
root      4557  0.0  0.0   16    8      - S      Oct 01  0:00 kproc
root      4667  0.0  0.0  196   12      - S      Oct 01  0:00 /etc/srcmstr
root      5275  0.0  0.0  204   32  hft/0 S      Oct 06  0:02 /etc/getty /dev/co
nsole
root      5567  0.0  0.0  112    8      - S      Oct 01  0:00 /usr/lpp/info/bin/
infod


Note that there are 3 kprocs with start times of Dec 31  (which cannot
be true as the RS/6000 has been booted recently - is the date being used
as an 'epoch' or beginning of time type of date) and one of the kprocs
(pid 514) is always in a run state and is accumulating cputime at an
amazing rate.

What is this kproc doing (on a completely different machine the same kprocs
have the same pid numbers - coincidental or due the the invocation order of
processes on the machines)?

Is the cputime being accumlated by this process a problem?

There are no low numbered processes between pid 1 (init) and 514 (this first
kproc).  pid 0 is the swapper:

(7)%   ps alxwwww | more
     F S  UID   PID  PPID   C PRI NI ADDR  SZ  RSS   WCHAN    TTY  TIME CMD
   b03 S    0     0     0 120  16 -- 1008   8    8              - 16:48 swapper
202803 S    0     1     0   0  60 20  804 248  140              - 14:11 /etc/ini
t
   303 R    0   514     0 120 127 -- 1209  12    8              - 8867:45 kproc
   303 S    0   771     0   1  39 --  a05  16   16              - 15:09 kproc
   303 S    0  1028     0   0  36 -- 160b  16   16              -  0:00 kproc
260801 S    0  1387  4667   0  60 20  160 1048  152              - 97:47 /usr/et
c/ypserv
 40801 S    0  1655  8310   0  60 20 3379 120   20              -  0:08 /usr/etc
/biod 6
 40a01 S    0  2171     1   0  60 20 3038  16    8              -  0:00 kproc
260801 S    0  2373  4667   0  60 20 3d1e 136  104              -  0:29
 /etc/sys...


Is is the pagedaemon?  The idle process?  What?

							- Morrow
							  Long-Morrow@CS.Yale.EDU
---
H. Morrow Long   Long-Morrow@CS.Yale.EDU   {harvard,decvax}!yale!Long-Morrow
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU