[rescue] sun3/50 swap

schaecsn rescue at sunhelp.org
Mon Aug 13 00:30:08 CDT 2001


Hi

I do have a SunOS4.1.1U1 question (sun 3/50).

My machine crashes under "heavy" load, e.g. 3..5 simultaneous compilier
runs.
I think the reason is I do have no virtual memory available.

the output of top is
--------------------------------------------------------------------------------
last pid:   270;  load averages:  2.21,  1.80,  0.99                  
05:48:19
36 processes:  32 sleeping, 4 running
Cpu states: 50.0% user,  0.0% nice, 50.0% system,  0.0% idle
Memory: 2376K available, 2120K in use, 256K free, 896K locked

  PID USERNAME PRI NICE  SIZE   RES STATE   TIME   WCPU    CPU COMMAND
  267 root      52    0  152K  112K run     0:16 37.47% 32.81% sh
--------------------------------------------------------------------------------

and the output of monitor is

--------------------------------------------------------------------------------
Last update:  05:48:44                  Virtual Memory Rates (per
second)
Load average:  2.20                             Hit ^C for menu.
Swapins                            8      Pages swapped
in                 6
Swapouts                           0      Pages swapped
out                9
Pageins                            0      Pages paged
in                   1
Pageouts                           0      Pages paged
out                  4
Pages reclaimed                    3      Pages
freed                     12
Pages scanned                     41      Total Page
faults               19
Zero fill pages created            0      Zero fill page
faults            1
Executable fill pages created      0      Executable fill page
faults      0
Total real memory                238      Active real memory            
238
Total virtual memory               0      Active virtual
memory            0
Free memory                       33
--------------------------------------------------------------------------------

both, top and monitor are supplementary software. they do confirm that I
don't have virtual memory.

but at boot time I get:

--------------------------------------------------------------------------------
swap on sd0b fstype spec size 47880K
dump on sd0b fstype spec size 47856K
--------------------------------------------------------------------------------

and sun's "pstat -T" reports:

--------------------------------------------------------------------------------
112/310 files
172/177 inodes
 36/ 58 processes
4224/47872 swap
--------------------------------------------------------------------------------


so, any idea if I do have swap enabled or not? If I do have it enabled
how come that my machine crashes all the time under heavy load? I have
fresh installation!

My understanding is that swap gets enabled automatically. I don't need
an entry in /etc/fstab.

It crashes under 4.1.1 with a generic kernel and under 4.1.1U1 under a
generic kernel and custom kernel. that's all I tried.

any help is appreciated.

thanks,

Stefan

-- 
   ___  ___       __         |   Name: Stefan Schckeler
  /  / /  /____  (__)__  ___ | E-mail: schaecsn at gmx.de
 /  /_/  /  _  \/  /\  \/  / |    day: Solaris 2.5.1, HP-UX 10.20
 \___,__/__//__/__/ /__/\__\ |  night: slackware 3.0, netbsd-alpha 1.5



More information about the rescue mailing list