Re: can swap space be resized ?

From: Dharmu (dharmu_at_linuxmail.org)
Date: 08/26/03

  • Next message: Aishwarya: "Re: can swap space be resized ?"
    Date: 26 Aug 2003 00:06:17 -0700
    
    

    Davide Bianchi <davideyeahsure@onlyforfun.net> wrote in message news:<bi5dk2$5d8hh$4@ID-18487.news.uni-berlin.de>...
    > Aishwarya <aisinghal@sapient.com> wrote:
    > > i need to increase swap space on one of our UNIX boxes. is it possible
    > > to do it?
    >
    > Turn off the swap, create a new swap partition, prepare it, turn
    > on the swap.
    >
    > > does it require a restart of the server ?
    >
    > It shouldn't.
    >
    > > also, is there a guideline on what the ideal size of swap space should
    > > be (percentage of total available disk space) ?
    >
    > It depends on how much memory you have and how heavy the machine
    > is used. As a guideline, when you start using a lot of swap, it's
    > time to buy more memory or a bigger machine.
    >
    > > space partitions (/tmp)
    >
    > /tmp isn't the swap partition. Usually the swap partition isn't showed
    > with df.

    Yes. df shows the disk usage of the mounted partitions.

    You can use free to check the memory usage.

    >
    > Davide


  • Next message: Aishwarya: "Re: can swap space be resized ?"

    Relevant Pages

    • Re: WARNING: Sorry, no swap space to grow stack for pid 4456
      ... > What I meant was on another machine, swap -l shows ... Virtual memory is made up of three "resources" that are put together ... if RAM isn't available, the data is written to the file instead of swap. ... state of affairs might be to have a little swap space used every now ...
      (comp.unix.solaris)
    • [HPADM] RE: -SUMMARY- Clarification on swapinfo/glance output
      ... Memory allocation under HP-UX can be a little odd, ... the system needs to swap out a portion of that program, ... configured swap space, you will no longer be able to run more programs (they ... The pseudo swap is enabled by default by ...
      (HP-UX-Admin)
    • Re: Slow FC4, perhaps swap is to blame
      ... kind of memory leak that builds up in the swap space over time. ... I did manage to find a command which I somehow got to work at least ...
      (Fedora)
    • 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: swap space size
      ... I believe this was just a rule of thumb when memory was so expensive. ... And if it stops swapping, ... "two times 'so much'" swap space have? ...
      (Debian-User)