can swap space be resized ?

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

  • Next message: Davide Bianchi: "Re: can swap space be resized ?"
    Date: 22 Aug 2003 03:03:43 -0700
    
    

    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


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

    Relevant Pages

    • Re: Newbie partitioning question
      ... >10.2gb drive for use as an NFS server. ... Swap space on Linux depends on how much Virtual Memory you ... minus how much RAM you actually have. ... Your /boot partition is twice as big as you'll likely need too, ...
      (comp.os.linux.misc)
    • Re: RAM question for everyone!
      ... that will make the VM more likely to evict pagecache data than ... To be honest, now-days, I rarely tweak the swappiness value. ... works just fine on most 64bit workstation (and server) I use these-days. ... I'm glad that I had a lot of swap space ready "just in ...
      (Fedora)
    • Re: Running out of swap space????
      ... If you kill mysql server, does the swap space free up? ... CPU: AMD OpteronProcessor 244 ...
      (freebsd-questions)
    • Re: RAM question for everyone!
      ... 10Gig of memory and have a small harddrive and no swap space? ... you need at least 16GB of address space in case the server attempts to call an external program. ... While fork() will not copy all of the pages of a process under Linux, you do generally need to have the space available. ... If you're going to run an 8GB database server, with 10GB of RAM, I would strongly recommend at least 10GB swap space. ...
      (Fedora)
    • Running out of swap space????
      ... I've got a server that is running out of swap space: ... this server has a 6GB swap partition! ... CPU: AMD OpteronProcessor 244 ... real memory = 2146893824 ...
      (freebsd-questions)