[3744] in Athena Bugs
possible VM bug in rtpc 6.3B kernel
daemon@ATHENA.MIT.EDU (geer@ATHENA.MIT.EDU)
Wed Nov 29 09:55:31 1989
From: geer@ATHENA.MIT.EDU
Date: Wed, 29 Nov 89 09:55:01 -0500
To: bugs@ATHENA.MIT.EDU
Cc: don@ATHENA.MIT.EDU
this is evidence of a vm/fragmentation problem:
couldn't start latex even when i pared down to a single
xterm. so i rebooted and now, without paring down (and
with more memory in use accordingly), i *can* start latex.
before rebooting:
% pstat -s
9774k used (4718k text), 6177k free, 1680k wasted, 512k missing
avail: 4*512k 5*256k 9*128k 15*64k 9*32k 10*16k 289*1k
% /mit/sipb/rtbin/latex
/mit/sipb/rtbin/latex: Not enough memory
after rebooting:
% pstat -s
10044k used (2824k text), 5907k free, 2384k wasted, 512k missing
avail: 9*512k 2*256k 1*128k 4*64k 3*32k 6*16k 211*1k
% latex
This is TeX, C Version 2.93 (no format preloaded)
--dan
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
sample/reference data:
the following illustrates the difficulty
in using latex from the sipb locker on
an 8mb rtpc. i am running exactly one
xterm (plus automatic processes).
=== 1 === establish memory size:
e40-342f-2% zcat /usr/adm/messages.0.Z | grep Memory | tail -1
Oct 11 08:30:52 e40-342f-2 vmunix: Memory summary: total 8192K (0x800000), avail able 6310K (0x629800)
=== 2 === attempt to start latex
e40-342f-2% /mit/sipb/rtbin/latex
/mit/sipb/rtbin/latex: Not enough memory
=== 3 === how much memory is in use?
e40-342f-2% pstat -s
9774k used (4718k text), 6177k free, 1680k wasted, 512k missing
avail: 4*512k 5*256k 9*128k 15*64k 9*32k 10*16k 289*1k
=== 4 === for what portion am i personally accountable?
e40-342f-2% ps ux | sort -rn +4
USER PID %CPU %MEM SZ RSS TT STAT TIME COMMAND
geer 23174 0.0 3.8 456 232 v0 I 0:01 /usr/athena/xlogout
geer 23423 71.0 6.7 426 416 p3 R 0:03 ps ux
geer 23153 0.0 5.2 418 318 ? I 0:00 /usr/etc/zwgc
geer 23177 0.0 3.5 340 210 p3 S 0:08 -sh (csh)
geer 23132 0.0 1.9 330 112 v0 I 0:08 csh -f /usr/athena/lib/init/xs
geer 23151 0.0 2.1 254 124 v0 I 0:01 uwm
geer 23127 0.0 0.6 54 30 v0 I 0:00 sh /etc/athena/xdm/Xsession .x
geer 23175 0.0 0.3 12 8 v0 I 0:00 /usr/athena/session_gate
=== 5 === what is the global memory responsibility distribution?
e40-342f-2% ps aux | sort -rn +4
USER PID %CPU %MEM SZ RSS TT STAT TIME COMMAND
root 2 0.0 0.2 1344 0 ? D 0:13 pagedaemon
root 23121 2.3 11.9 1278 742 ? S 3:16 - -su -bs :0 -all ttyv0 (Xibm)
root 23122 0.0 4.6 764 282 v0 I 0:03 - -L -config /etc/athena/xdm/x
root 23167 0.7 7.2 556 442 v0 S 0:28 xterm -geometry 80x57-15+15
geer 23174 0.0 3.8 456 232 v0 I 0:01 /usr/athena/xlogout
geer 23445 63.1 7.0 444 432 p3 R 0:04 ps aux
geer 23153 0.0 5.2 418 318 ? I 0:00 /usr/etc/zwgc
geer 23177 0.0 3.2 342 190 p3 I 0:09 -sh (csh)
geer 23132 0.0 1.6 330 90 v0 I 0:08 csh -f /usr/athena/lib/init/xs
geer 23433 0.6 3.6 320 218 p3 S 0:07 vi /mit/geer/Mail/draft
geer 23446 5.1 1.0 314 56 p3 S 0:00 sort -rn +4
geer 23442 9.5 2.4 292 142 p3 S 0:00 sh -c sh
geer 23151 0.0 2.1 254 124 v0 I 0:01 uwm
root 11466 0.0 2.2 246 128 ? I 0:05 /etc/named
geer 23432 0.0 2.8 206 168 p3 I 0:00 comp
root 257 0.0 1.4 176 80 ? I 0:11 /etc/syslogd
root 185 0.0 1.8 156 104 ? I 0:57 /etc/athena/zhm
root 23092 0.0 0.3 148 8 ? I 0:02 - ttyv0 console (toehold)
root 172 0.0 0.7 104 34 ? I 1:58 /etc/timed
root 163 0.0 1.2 104 64 ? I 21:43 /etc/inetd -n
root 80 0.0 0.2 98 0 ? D 9:48
root 79 0.0 0.2 98 0 ? D 10:15
root 78 0.0 0.2 98 0 ? D 5:54
root 76 0.0 0.2 98 0 ? D 0:00
root 149 0.2 1.0 76 52 ? I 29:07 /etc/cron
root 1 0.0 0.4 68 18 ? I 0:55 /etc/init -
geer 23127 0.0 0.4 54 16 v0 I 0:00 sh /etc/athena/xdm/Xsession .x
geer 23444 2.9 0.6 46 28 p3 S 0:00 sh
root 167 0.0 0.0 36 0 ? IW 0:07 /etc/biod 4
root 166 0.0 0.0 36 0 ? IW 0:05 /etc/biod 4
root 165 0.0 0.0 36 0 ? IW 0:04 /etc/biod 4
root 164 0.0 0.0 36 0 ? IW 0:04 /etc/biod 4
geer 23175 0.0 0.3 12 8 v0 I 0:00 /usr/athena/session_gate
root 145 0.0 0.3 10 6 ? S 3:36 /etc/update -n
root 0 0.0 0.1 0 0 ? D 0:06 swapper
geer 23441 0.0 0.1 0 0 v0 Z 0:00 <defunct>
=== 6 === boot history of this host
e40-342f-2% uptime
9:22am up 49 days, 1:54, 2 users, load average: 0.13, 0.27, 0.33