Subject: Re: small memory box, NFS-mounted swapfile panic
To: None <smd@ebone.net, thorpej@nas.nasa.gov>
From: Sean Doran <smd@ebone.net>
List: port-alpha
Date: 10/29/1998 09:32:10
And finally, last try for the next 9 hours or so:

boot (single user); swapctl -a /swap0; cd /usr/src; make build &
lots of ps vaxg  typed manually when the make build descended into cleandir.

rm -f .depend /usr/src/lib/libbz2/tags
xcleandir ===> lib/libc
g
  PID STAT      TIME  SL  RE PAGEIN   VSZ  RSS   LIM TSIZ %CPU %MEM COMMAND
   70 S      0:00.32   0   2      0  1264 1720     -  144 14.9 11.5 make _THISD
    4 Ss     0:00.15   0  37     47  1040  408     -  456  0.0  2.8 -sh 
   96 S      0:00.02   0   0      0  1008  416     -  456  0.0  2.9 /bin/sh -ec
   69 S      0:00.02   2   2      0  1008  416     -  456  0.0  2.9 /bin/sh -ec
   63 S      0:00.20   2   2      0   896 1344     -  144  9.2  9.0 make cleand
    8 S      0:00.23   2  20     24   888 1272     -  144  0.2  8.5 make build 
   98 R+     0:00.02   0   0      0   664  352     -  256  0.0  2.4 ps -vaxg 
   97 D      0:00.07   0   0      0   520  968     -  144  0.0  6.5 make _THISD
    1 Is     0:00.02  37  37     12   488  128     -  224  0.0  1.0 /sbin/init 
    3 DL     0:00.00   0  37      0     0 -2792     -    0  0.0 -18.4 (reaper)
    2 DL     0:00.00  37  37      0     0 -2792     -    0  0.0 -18.4 (pagedaemon
    0 DLs    0:00.00   4  44      0     0 -2792     -    0  0.0 -18.4 (swapper)
# ps vaxg 
  PID STAT      TIME  SL  RE PAGEIN   VSZ  RSS   LIM TSIZ %CPU %MEM COMMAND
   97 S      0:00.38   1   3      0  2008 2456     -  144 11.6 16.3 make _THISD
   70 S      0:00.32   3   5      0  1264 1720     -  144  5.1 11.5 make _THISD
    4 Ss     0:00.15   0  40     47  1040  408     -  456  0.0  2.8 -sh 
   96 S      0:00.02   3   3      0  1008  416     -  456  0.0  2.9 /bin/sh -ec
   69 S      0:00.02   5   5      0  1008  416     -  456  0.0  2.9 /bin/sh -ec
   99 D      0:00.01   0   1      0   976  384     -  456  1.0  2.6 sh -c . /us
   63 S      0:00.20   5   5      0   896 1344     -  144  3.3  9.0 make cleand
    8 S      0:00.23   5  23     24   888 1272     -  144  0.0  8.5 make build 
  100 R+     0:00.01   0   0      0   664  352     -  256  0.0  2.4 ps -vaxg 
    1 Is     0:00.02  40  40     12   488  128     -  224  0.0  1.0 /sbin/init 
    3 DL     0:00.00   2  40      0     0 -2776     -    0  0.0 -18.3 (reaper)
    2 DL     0:00.00  40  40      0     0 -2776     -    0  0.0 -18.3 (pagedaemon
    0 DLs    0:00.00   7  47      0     0 -2776     -    0  0.0 -18.3 (swapper)
ps vaxg

where it *hanged* dead.  no reply to pings, no activity to be noticed at all.

^Z
^C
~%break
Stopped at      Debugger+0x4:   ret     zero,(ra)
db> ps
 PID             PPID       PGRP        UID S   FLAGS          COMMAND    WAIT
 100                4        100          0 3  0x6106               ps    plpg
 97                96          8          0 3  0x4006             make flt_nor
 96                70          8          0 3  0x4086               sh    wait
 70                69          8          0 3  0x4086             make    wait
 69                63          8          0 3  0x4086               sh    wait
 63                 8          8          0 3  0x4086             make    wait
 8                  4          8          0 3  0x4086             make    wait
 4                  1          4          0 3  0x4086               sh    wait
 3                  0          0          0 3   0x204           reaper  reaper
 2                  0          0          0 3   0x204       pagedaemon   netio
 1                  0          1          0 3  0x4080             init    wait
 0                 -1          0          0 3   0x204          swapper schedul