The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Increase SWAP File, SSH Login as Root

Discussion in 'Security' started by Ke-Designz, Aug 1, 2014.

  1. Ke-Designz

    Ke-Designz Registered

    Joined:
    Jul 31, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Please note we are new to managing a VPS and are having issues with available RAM/SWAP; We've reviewed several online articles about increasing the swap size, however through SSH we are unable to complete the task.

    We have a VPS with GoDaddy, 1 GB Ram, 40 GB Disk Space.

    Any assistance would be greatly appreciated.
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    I will suggest you please try to increase swap file with the following KB and let us know if you are facing any issues.

    cpanelkb.net/how-to-increase-swap-size
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You will likely need to consult with your web hosting provider for assistance with increasing the available memory on your VPS. It's typically only configurable from the VPS hardware node.

    Thank you.
     
  4. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    942
    Likes Received:
    57
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Typically you don't want to be using any swap. Most of the time with web servers, swap usage is just a stop on the short road to an out-of-memory (OOM) Kernel panic and crash/reboot.

    Get a server with more RAM.
     

Share This Page