Proxmox draining RAM

Otas

New Member
Jun 3, 2019
7
0
1
31
Hello, i have trouble with draining ram. (including htop ss)
Any suggestion? After restart node everything ok, but wait 1 day and again take's all of ram.
 

Attachments

  • Screenshot from 2019-06-03 21-07-41.png
    Screenshot from 2019-06-03 21-07-41.png
    282.8 KB · Views: 17
Unused memory is wasted memory, so the Linux kernel attempts to use this memory to improve performance.

Check your RAM Usage with free -h and check for what it's used.
 
Check your RAM Usage with free -h and check for what it's used.
But when drain all of ram proxmox write much IO delay, and all VM's performance goes down.
When GUI show all ram was drained, free -h shows used 9gb free 500mb.

And htop shows much the same VM's its like proxmox dublicating VM's for performance, it is possible?
 
Did you overcommit your node? Can you post your HW Config and the VM RAM config?
 
Did you overcommit your node? Can you post your HW Config and the VM RAM config?
You mean this? No i dont overcommit, how i can do it?
 

Attachments

  • Screenshot from 2019-06-03 21-42-51.png
    Screenshot from 2019-06-03 21-42-51.png
    36.3 KB · Views: 15
  • Screenshot from 2019-06-03 21-43-33.png
    Screenshot from 2019-06-03 21-43-33.png
    41.7 KB · Views: 15
But when drain all of ram proxmox write much IO delay, and all VM's performance goes down.

Do you mean that after you freed your memory, your IO delay increases and the performance goes does? If so, this is normal. Having free memory is a very bad thing for almost every computer system ever invented.
 
Do you mean that after you freed your memory, your IO delay increases and the performance goes does? If so, this is normal. Having free memory is a very bad thing for almost every computer system ever invented.

But if i have 10GB of ram and i have 2 VM's which i added for 2GB of ram, why after one day all 10GB ram drained and all performance goes down? If my VMs do nothing for all day, RAM stay good, but if my VM work with much load, seems like proxmox giving to it free RAM's and after much load VM catch only 2GB and used ~300MB but proxmox dashboard and htop shows what it drained
 
You have not shown us any output of a system that was "drained", so please do that.
I am new at this so please tell me what i need to show and i will. (Including month ram usage, all less usage was node reboot)
 

Attachments

  • Screenshot from 2019-06-04 18-10-06.png
    Screenshot from 2019-06-04 18-10-06.png
    27.9 KB · Views: 15
Again: Used ram is good, not bad.

You say that your I/O delay goes up when the RAM is full, show it.
@sb-jw suggested that you show the whole output of free -h, not just some numbers, so please do that.

For text, it's best to paste it as text in CODE tags.
 
Hello,

Now i have that:
total used free shared buff/cache available
Mem: 9.7G 6.6G 2.8G 51M 203M 2.8G
Swap: 0B 0B 0B

Working 2 VM's
1 VM - 37.99% (777.98 MiB of 2.00 GiB)
2 VM - 70.91% (1.42 GiB of 2.00 GiB)
 
So if my 1 VM who have let to use 2GB ram eat 9GB ram is normal?
If yes, weird question, why i need to set how much ram VM need to use in first confg?
 
From the info you have posted so far, I can not see a VM using more than 2 GB memory.
Memory is expensive so a well made OS does not let RAM sit idle, it is used for buffers, disk cache etc.. If you would create swap then you can see memory is exhausted when lots of swap is in use. The screenshots you showed do not look like memory is drained, whatever that means.
I do not fully understand what the memory issue is in this thread.
But the IO issue would be troublesome, but you have not showed any info about that except writing "much IO delay".
 

About

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!