Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mskucher@vertex.tor.hookup.net (Murray S. Kucherawy)
Subject: Re: low swap space on AlphaStation 250 4/266
Date: 1996/05/29	[thread overview]
Message-ID: <4ohkmm$hjp@vertex.tor.hookup.net> (raw)
In-Reply-To: 4ofk0t$svi@jeeves.niehs.nih.gov


In article <4ofk0t$svi@jeeves.niehs.nih.gov>,
Gregg E. Dinse <dinse@catatac.niehs.nih.gov> wrote:
>Well, this is my first time posting here, so please go easy  
>on me!  Also, I am not a systems administration person, as  
>will become abundantly obvious is a moment.
>
>Our group has a DEC AlphaStation (model 250 4/266), which  
>is running DEC's version of UNIX.  The system has 128-mb of  
>RAM and two hard drives: a 1-gb drive with the operating  
>system on it and a 4-gb drive for user files.
>
>We keep getting a message in the console that says the  
>available swap space is below 10%.  We have had to reboot  
>the system a few times after it hung, and I am assuming  
>that this is related to the low swap space.
>
>Is there a relatively simple way to increase the amount of  
>swap space, or can this only be done when installing the  
>operating system?  If the current system can be modified,  
>where should I look for instructions on doing this?  Is it  
>simple enough to explain in an email message?
>
>I don't feel very comfortable messing with the operating  
>system on my own, so I'm looking for a little advice.  I  
>opened an Xterm and typed "df".  Here is what I got:
>
>Filesystem    512-blocks    Capacity    Mounted On
>/dev/rz0a       126,462        84%        /
>/proc              0          100%        /proc
>/dev/rz0g     1,603,526        76%        /usr
>/dev/rz1c     8,131,716         7%        /Users

Looks to me like you haven't got anywhere to put more swap space without
reformatting your /Users drive or installing another disk.

Use "swapon -s" as root to figure out your swap usage and availability.
Our policy here is to run 4 times as much swap as physical, so you should
be running 512Mb of swap space.  The swap space doesn't need to be all
in one place, so you could make a partition that brings your swap total
up to 512Mb.  This is actually better because then the swapping is spread
over two disks, avoiding a bottleneck.

The procedure's pretty easy though:

(1) Partition a drive with "disklabel"; make a partition for swap and
    one or more partitions for regular files
(2) newfs the partition(s) on the drive that will contain regular filesystems
(3) create mount points with "mkdir" for the regular filesystems
(4) add the swap and regular partitions to /etc/fstab
(5) reboot, or just type "swapon -a" to add the additional swap space

If you're not able to add any disk to that machine, you'll need to
back up /Users, repartition and reformat that drive, and then restore the
data.

>Does this help at all?  I assume the system disk has  
>several partitions (at least a and g -- I don't know where  
>b through f are).  Also, I don't know what /proc is.

It's a filesystem which contains all active processes.  You can open
/proc/1 and look at the virtual memory contents of the process whose
PID is 1, for example.

>Can anyone steer me in the right direction?  Thanks in  
>advance for any help.  Bye,
>
>Gregg
>
>===========================
>Gregg Dinse
>x4931
>dinse@catatac.niehs.nih.gov


-- 
Murray S. Kucherawy ====================================== mskucher@hookup.net
Vice-President, Engineering                   HookUp Communication Corporation
(905) 847-8000                NIC Handle "MSK"       Oakville, Ontario, CANADA
--                EMACS: Eight Megs And Constantly Swapping                 --



  reply	other threads:[~1996-05-29  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-28  4:00 low swap space on AlphaStation 250 4/266 Gregg E. Dinse
1996-05-29  4:00 ` Murray S. Kucherawy [this message]
1996-06-03  4:00 ` ccx062
1996-06-04  4:00 ` "Mark Jeffery"
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox