From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c705b39766f66af5,start X-Google-Attributes: gidfee84,public From: jpt@rixrax.fno.dec.com (Jari Tavi) Subject: Re: Swap Space - swap.txt [01/01] Date: 1995/07/11 Message-ID: <3ttt4l$vk@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 106000904 distribution: world references: <1995Jul11.013433.28054@newton.ccs.tuns.ca> organization: Digital Equipment Corporation reply-to: jpt@rixrax.fno.dec.com (Jari Tavi) newsgroups: comp.unix.osf.osf1 In article <1995Jul11.013433.28054@newton.ccs.tuns.ca>, liuhq@newton.tuns.ca (Hongqing Liu) writes: |> BEGIN -- Cut Here -- cut here |> begin 644 swap.txt |> end |> END -- Cut Here -- cut here |> And here's the clear text: |>Hi, There: |> |>I got a problem with the swap space when I run a fortran file. It said |>"swap space less than 10 % free". Anyone knows how to extend the swap |>space and how to check the swap size. Thank you in advance. |> |>Cathy Liu |>liuhq@newton.ccs.tuns.ca Cathy, You're trying to hide something when uuencoding you messages? Anyway. Try using "swapon -s" to see free space. Check also man swapon(8) as it contains explanation of eager (immediate) and lazy (deferred) swap policies: with lazy swap you might survive even without extending your swap space. If you need to expand your swap, it is recommended that you distribute the swap over different physical drives, see system management documentation on how to add additional swap space. In short: 1) - find free partition - use swapon to add space _or_ 2) - mv /sbin/swapdefault /sbin/swapdefault.old - reboot In case 2) it is possible that you still need to grow swap space or you have other reasons to return to eager swap, but see swapon(8) for details as it explains difference between these two policies. Don't do 2) before you understand what it means to your applications in _your_ system. Best regards, -jari -- ------------------------------------------------------------------------------- Full-Name: Jari Tavi Organization: Digital Finland Dept: MKTG/Prod. MGMT Tel: +358-0-434 5252 Fax: +358-0-452 4046 E-mail: jpt@rixrax.enet.dec.com Address: Digital Equipment Corporation Oy Box 16 FIN-02201 Espoo FINLAND ------------------------------------------------------------------------------- * All opinions are my personal, and do not necessarily represent opinions of * my employer!