From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c9950192bd4446d6,start X-Google-Attributes: gidfee84,public From: klaus@omega.physik.fu-berlin.de (Wolfram Klaus) Subject: Re: [Q] Running out of swap space Date: 1995/04/06 Message-ID: #1/1 X-Deja-AN: 100061007 distribution: global references: organization: Freie Universitaet Berlin x-access: 16 17 18 newsgroups: comp.unix.osf.osf1 atlas@parcom.ernet.in (Atul Deuskar) writes: >hi all, > We have 2 DEC 2100 servers running DEC OSF/1 3.0. >Both have 64MB RAM and 128MB swap allocated. However even >with a low user load, after sometime the machines run >out of swap and then totally hang. A reboot seems to be the >only escape out. This is even if the user application is > not memory intensive. >Any idea on how to avoid this will be useful. >Thanks a lot. I had a similar problem here. One of our alphas (128MB memory, 2x128MB swap) was constantly short of swap space, while all the other machines were just fine. After checking the man-page of swapon I discovered that on this one machine a link /sbin/swapdefault -> /dev/rz3b (=swap1) existed, forcing the system into the default immediate swap mode. Removing this link will force the system to over-commitment mode, which allocates swap space only when the system needs to write a modified virtual page to the swap space. The other machines did not have this link. Unfortunately I cannot tell you, if removing this link helped since I could not reboot the machine so far. But I am pretty sure it will help. Wolfram -- Wolfram Klaus (klaus@manuel.physik.fu-berlin.de) FU Berlin, FB Physik ************************************************************************* ************ Linux ... the choice of a GNU generation ******************* *************************************************************************