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.

My Swap is full

Discussion in 'General Discussion' started by shahabff, Jul 19, 2015.

  1. shahabff

    shahabff Registered

    Joined:
    Jul 19, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    uas
    cPanel Access Level:
    Root Administrator
    Hello

    My swal patrition is full

    i.cubeupload.com/9CW5uu.jpg

    How i can Promotion it?

    Please Help me :(
     
    #1 shahabff, Jul 19, 2015
    Last edited by a moderator: Jul 19, 2015
  2. cPTerrance

    cPTerrance *nix Technical Analyst II / Migrations Specialist
    Staff Member

    Joined:
    Jul 9, 2015
    Messages:
    72
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. shahabff

    shahabff Registered

    Joined:
    Jul 19, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    uas
    cPanel Access Level:
    Root Administrator
    This is learning for creat swap
    Swap is already exist in my server i just want to increase it
     
  4. 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,

    You need to remove your your current swap partition from your server and then create new with your size.

    Can you please let me know following command out put so that we can check your current swap partition

    Code:
    df -h
    
    free -m
    
    cat /etc/fstab
     
  5. shahabff

    shahabff Registered

    Joined:
    Jul 19, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    uas
    cPanel Access Level:
    Root Administrator
    root [/]# df -h
    Filesystem Size Used Avail Use% Mounted on
    rootfs 59G 30G 26G 54% /
    devtmpfs 7.8G 184K 7.8G 1% /dev
    tmpfs 7.8G 0 7.8G 0% /dev/shm
    /dev/sda1 59G 30G 26G 54% /
    devtmpfs 7.8G 184K 7.8G 1% /dev
    /dev/sda2 49G 16G 31G 34% /home
    /dev/sdb1 110G 62G 43G 59% /home2
    /dev/sdc1 110G 65G 40G 62% /home3
    /dev/loop0 2.6G 183M 2.3G 8% /tmp
    /dev/loop0 2.6G 183M 2.3G 8% /var/tmp



    root [/]# free -m
    total used free shared buffers cached
    Mem: 15849 15321 528 0 745 6384
    -/+ buffers/cache: 8191 7657
    Swap: 2046 2046 0


    root [/]# cat /etc/fstab
    # <file system> <mount point> <type> <options> <dump> <pass>
    /dev/sda1 / ext4 errors=remount-ro,usrjquota=quota.user,jqfmt=vfsv0 0 1
    /dev/sda2 /home ext4 usrjquota=quota.user,jqfmt=vfsv0 1 2
    /dev/sda3 swap swap defaults 0 0
    proc /proc proc defaults 0 0
    sysfs /sys sysfs defaults 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    devpts /dev/pts devpts defaults 0 0
    /dev/sdb1 /home2 ext4 usrjquota=quota.user,jqfmt=vfsv0 0 0
    /dev/sdc1 /home3 ext4 usrjquota=quota.user,jqfmt=vfsv0 0 0
    /tmp /var/tmp ext3 defaults,bind,noauto 0 0
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,787
    Likes Received:
    665
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page