Re: can swap space be resized ?

From: Aishwarya (aisinghal_at_sapient.com)
Date: 08/26/03


Date: 26 Aug 2003 01:52:31 -0700

sallan1055@aol.com (sharona) wrote in message news:<7191cfcb.0308222042.23c10add@posting.google.com>...
>
> You can add swap space any time you need to and have the space for it.
> Do a man on swap. If you have the space you'ld do a mkfile
> whateversize filename and then a swap -a /path/to/newswapfile. You'll
> need to make sure it's added to the /etc/vfstab. To monitor swap
> space you'ld do a swap -l or a swap -s I believe.
>
> Sharona

Hi All,

Thanks for your advise(s). The box in question is indeed a solaris
box, i do appologise for missing out on mentioning that in the first
place. We are running a Solaris 8 patch Generic_108528-18.

hence, apart from swap -l and swap -s commands to get the picture of
swap space (which i must admit i wasnt aware of till now), if i do a
df -k, i get the following result:

Filesystem kbytes used avail capacity Mounted on
..
swap 528440 24 528416 1% /var/run
swap 542384 13968 528416 3% /tmp
...

Thanks once again for all your help guys!

Cheers
Aishwarya



Relevant Pages

  • Re: excessive swap-in time
    ... Trying to do it all with RAM is just inefficient. ... I find that does not work well when the swapping is caused by excessive I/O ... Or you could have 5 TB of swap space. ...
    (comp.os.linux.development.system)
  • Summary swap rules.
    ... So it looks as if swap is mostly not used anymore and can be kept pretty ... Tim Bradshaw stated what I privately felt- that 1:1 swap to memory is ... so it's really only around for memory leaks and core dumps. ... think) which are written to swap space. ...
    (SunManagers)
  • Re: malloc does not return null when out of memory
    ... >> actual RAM and swap are exhausted. ... Having actually worked on the IRIX VM system, and on vswap ... Adding Virtual Swap Space ... You can create a normal file of larger than 0 length and allocate it as ...
    (freebsd-stable)
  • RE: Where do you put your swap partition?
    ... so I can mount /tmp on a tmpfs file system. ... it, hits the disk several times, even with a large buffer cache. ... don't have enough ram, you have to swap, but you're no worse off than ... disk and /var on a third, and have swap space defined on all three. ...
    (Debian-User)
  • Re: Is Greenspun enough?
    ... the swap copy can be liberated. ... This means that whatever swap space you configure nicely ... If you have a gigabyte of RAM, ... >gigabyte VM with one gigabyte of RAM, you need two gigabytes of disk ...
    (comp.lang.lisp)