Proxmox VE 5.1 Host Swap Usage

Discussion in 'Proxmox VE: Installation and configuration' started by cwilliams, Feb 14, 2019.

  1. cwilliams

    cwilliams New Member

    Joined:
    Oct 12, 2016
    Messages:
    7
    Likes Received:
    0
    Hello,

    I have a question about the consistent high Swap usage of my Proxmox VE 5.1 Cluster. I'm using 8GB of Swap and my resources aren't being stressed as you can see from the image, so why is there almost always high Swap usage on this and my other 2 Proxmox Cluster Hosts? Is there a known configuration that keeps this from happening?
     

    Attached Files:

  2. saphirblanc

    saphirblanc Member
    Proxmox Subscriber

    Joined:
    Jul 4, 2017
    Messages:
    34
    Likes Received:
    0
    I'm having the same even after setting
    Code:
    sysctl vm.swappiness=10
    the SWAP usage does not reduce as it should and have plenty of RAM. Running PVE 5.2 :

    Code:
     pve-manager/5.2-10/6f892b40
    proxmox-ve: 5.2-2 (running kernel: 4.15.18-7-pve)
    pve-manager: 5.2-10 (running version: 5.2-10/6f892b40)
    pve-kernel-4.15: 5.2-10
    pve-kernel-4.15.18-7-pve: 4.15.18-27
    pve-kernel-4.15.18-3-pve: 4.15.18-22
    pve-kernel-4.15.17-1-pve: 4.15.17-9
    corosync: 2.4.2-pve5
    criu: 2.11.1-1~bpo90
    glusterfs-client: 3.8.8-1
    ksm-control-daemon: 1.2-2
    libjs-extjs: 6.0.1-2
    libpve-access-control: 5.0-8
    libpve-apiclient-perl: 2.0-5
    libpve-common-perl: 5.0-40
    libpve-guest-common-perl: 2.0-18
    libpve-http-server-perl: 2.0-11
    libpve-storage-perl: 5.0-30
    libqb0: 1.0.1-1
    lvm2: 2.02.168-pve6
    lxc-pve: 3.0.2+pve1-3
    lxcfs: 3.0.2-2
    novnc-pve: 1.0.0-2
    proxmox-widget-toolkit: 1.0-20
    pve-cluster: 5.0-30
    pve-container: 2.0-29
    pve-docs: 5.2-8
    pve-firewall: 3.0-14
    pve-firmware: 2.0-5
    pve-ha-manager: 2.0-5
    pve-i18n: 1.0-6
    pve-libspice-server1: 0.14.1-1
    pve-qemu-kvm: 2.12.1-1
    pve-xtermjs: 1.0-5
    qemu-server: 5.0-38
    smartmontools: 6.5+svn4324-1
    spiceterm: 3.0-5
    vncterm: 1.5-3
    zfsutils-linux: 0.7.11-pve1~bpo1
     

    Attached Files:

  3. cwilliams

    cwilliams New Member

    Joined:
    Oct 12, 2016
    Messages:
    7
    Likes Received:
    0
    The only way I have found to free up the SWAP is to migrate/shutdown the VM's and reboot the host. Even if I migrate all the VM's away there is still some SWAP being utilized.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice