1. Dunuin

    [SOLVED] guests swap partition completely rewritten every VM reboot

    Hi, I monitored my proxmox host with iostat found alot of "zd" devices writing once 8386556kb and then nothing changes. Most of my VMs got a vdev with thin provisioning and dicard of 8GB size for swapping (but rarely used because of swappiness of 1). Every time I reboot a VM it adds 8386556kb...
  2. D

    PVE acting on its own

    Hello all, I have Lenovo P500 Workstation with PCie NVME, 96GB RAM and 24core Xeon. Now after certain update, and I cannot recall which, PVE is acting strange like it has its own mind. I receive certain containers shutdown, I notice something is not working and I go look and it is shutdown. No...
  3. T

    High swap usage,alot of free RAM

    Hey, I've been using Proxmox for a while now, and I'm very happy with it. The only major issue I could not solve so far with the manual is the swap usage. I'm using an NFS share for storage, and the KVM processes seem to use quite a bunch of swap, even trough there is plenty of RAM to use...
  4. I

    [SOLVED] Can i disable the swap on the proxmox host?

    i have some proxmox servers installed, but on some of them there are swap enabled and always full. (i think it might reduce overall performance) there are lots of ram available. is it safe to disable the swap in proxmox host? ( it have around 20 containers and 4 vms running)
  5. T

    Niedriger RAM / hoher Swap verbrauch. Ist das normal?

    Habe PVE 6.2-6 mit 2 LXCs. Wie aus dem Screenshot zu sehen ist, ist beim ersten LXC die RAM Auslastung bei 3.19%, der Swap bei 47.1%. Hier läuft nur ein proFTPd mit mariaDB. Ist das normal oder kann/soll man da was optimieren? Der 2te LXC hat das RAM fast gefüllt, wobei ich auch hier nicht...
  6. H

    LXC: set memory.swappiness for individual CTs

    Hello, according to cgroupv1 docs: https://www.kernel.org/doc/Documentation/cgroup-v1/memory.txt It IS possible to set different swappiness value for each cgroup. How can i do this with proxmox CTs? Also: Can you please add GUI for this? This would greatly help me with swap issues caused by...
  7. D

    Proxmox 6.1 Memory Management - Booting from ZFS

    Hi, I have a bit of a problem with a test system I am running. Version details are below but the key factors are that I am booting from a single conventional hard disk, setup as a ZFS pool (called rpool). My reason for using zfs is that I plan to replicate the partition so I have a complete...
  8. M

    What is best swap configuration ?

    Hello. How do you configure swap on porxmox host machine ? I read different recommendations from: turn off swap at all to keep asa it is. I have 64 Gb RAM and 16 is used by containers and 1Gb swap in the same time. Is it good or not ? What do you advice to do or not with swap ?
  9. D

    Why my container is swapping?

    Hi, I have a container which has very slow performance, and trying to debug this i realised that it's swapping so much even if it has a lot of RAM memory available: These are the status graphs of the hypervisor: As you can see the host does not seems to be overloaded. Another...
  10. 9

    proxmox is not using available RAM, rather uses (full) swap

    Hello! We are currently using a proxmox-server to virtualize about 20 windows machines (usually 6-8 hosts running concurrently). Currently, we are experiencing an issue with RAM-Allocation. We have 39.62% (24.91 GiB of 62.88 GiB) RAM usage and the SWAP usage is at 98.26% (12.16 GiB of 12.37...
  11. S

    How to increase swap size ?

    Currently I am using proxmox 5.3-8 , I have followed all the method but I am unable to increase proxmox swap size which is currently 1 GB free -h total used free shared buff/cache available Mem: 31G 6.8G 286M 15G 24G...
  12. R

    Container uses more SWAP than allocated

    Hi! I have noticed that one of my containers uses much more SWAP memory than allocated. Allocated are 512MB and it uses well over 700MB, although there is still plenty of RAM free. Can anyone give me a hint why? free -m says: Any ideas?
  13. F

    container uses SWAP with no SWAP

    I set SWAP = 0 on every container I've on Proxmox, but they still use swap for some processes. I can check that from 'top' command. What's wrong?
  14. F

    swappiness on container

    Hi, I use Proxmox version '5.1-38'. I've 30 containers and VM-s. I want to change swappiness variable from 60 to 15 on several containers and it says 'sysctl: setting key "vm.swappiness": Read-only file system'. I think I should to change this on node but I don't want. Can I change it on only...
  15. M

    Swappiness with Proxmox Nodes

    Hello, i am monitoring my Swap usage with Nagios and i get: SWAP WARNING - 35% free (4151 MB out of 12006 MB) I started with 4GB of swap. My Node has 48GB RAM in Total. Should i create even more swap space? I have a bad feeling if the node uses so much swap: What happens when the node...
  16. K

    Swap sync set to always by default?

    Ever trying to gain just another percent of performance out of an admittedly sub-par setup, I have arrived at the sync parameter of zfs. Digging through some boards told me that disabling sync should be kinda-sorta ok if I trust my power supply, the data on the servers is well backed up and a...
  17. H

    Swap usage and IP address overview across containers

    When i click on datacenter -> search i see list of all containers in network. Also i can see memory and CPU usage of individual containers. I would like to see the swap size and usage in there, but there's no such option in columns menu. Can you please add it? Also i guess it might be useful to...
  18. C

    [SOLVED] LXC wrong swap amount displayed since last update

    Hello, Before the last update, when setting the swap to off and using free -m inside an LXC it would report the total swap as 0. Now since the last update, the total swap amount shows the total mem value. Here's an example on an LXC container with swap disabled. total used...
  19. B

    [SOLVED] Proxmox is using swap with lot of RAM available

    Hello, my name is Juan Carlos and this is my first time writing into this mailing list. I'm testing Proxmox using an ASUS P6T with 24GB RAM. Currently I have 4KVM using up to 12GB, which means I have 12GB free for ZFS, yet every time I do a VM backup, OS installation or any other workload...
  20. J

    High SWAP usage eventhough plenty of RAM is available

    Hello everyone, I recently configured Proxmox VE 5.1 as my new hypervisor. Everything works fine, but I can't explain its high SWAP usage. Some more information about the system: root@prxsrv:~# pveversion -v proxmox-ve: 5.1-25 (running kernel: 4.13.4-1-pve) pve-manager: 5.1-35 (running...


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!