Re: can swap space be resized ?

From: sharona (sallan1055_at_aol.com)
Date: 08/23/03


Date: 22 Aug 2003 21:42:20 -0700

aisinghal@sapient.com (Aishwarya) wrote in message news:<641f9193.0308220203.25b75da5@posting.google.com>...
> hi all,
>
> i need to increase swap space on one of our UNIX boxes. is it possible
> to do it ? if yes, how can i do it ? does it require a restart of the
> server (i would want to avoid that, if possible)?
>
> also, is there a guideline on what the ideal size of swap space should
> be (percentage of total available disk space) ?
>
> also, i have made a few strange (i.e. strange to me) observations ..
> when i do a top on my server, it says that there's some xxx M of swap
> space is free which usually is quite low and which indicates that swap
> space utilisation is quite high. however, when i do a df -k, the swap
> space partitions (/tmp) show a 5% utilization. am i reading the data
> wrongly? how do i monitor the actual status of swap space utilization
> at any point in time ?
>
> Looking forward to any pointers / help.
>
> Regards
> Aishwarya

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



Relevant Pages

  • Re: HELP! Installation Questions
    ... That gives enough space for the swap and leaves room for growth should more RAM be added at a later date. ... If this is server is for production use, I would use the 32-bit i386 version as it has been the longest and is the most deployed version. ... How can I get required Space when doing partition during installation? ...
    (freebsd-questions)
  • Re: Best drive configuration?
    ... > I'm moving drives between my PC, my server and my spares. ... To be used as a "hot pluggable" disk? ... Presume you know that having swap on different hds only "gains" you ... Partitions will depend on how you use the PC -- less critical here ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Best drive configuration?
    ... > I'm moving drives between my PC, my server and my spares. ... To be used as a "hot pluggable" disk? ... Presume you know that having swap on different hds only "gains" you ... Partitions will depend on how you use the PC -- less critical here ...
    (comp.os.linux.setup)
  • SUMMARY: Oracle problem after a restore
    ... The server asn't been rebootet before this time, of course, ... We did a full restore, via NetBackup, on new disks, changing *nothing ... Looking closely (two more "sunmanagers"'s mails about swap from me), ... finally saw that Oracle instances was taking much more swap than it was ...
    (SunManagers)
  • Re: No swap partition ?
    ... >> By default processes accessing NFS are going to wait forever ... to wait until the server comes back up. ... >> from swap, ... >> out everything and use all of your RAM for caches. ...
    (comp.os.linux.development.system)