Different show RAM my ct and my proxmox

simrsta

Member
Oct 25, 2022
39
2
13
I use Proxmox and I installed Linux Server for the database server

My RAM is 128GB
I use 100Gb for the CT database server

Why is the RAM usage on CT different from my Proxmox??
even though there is only one CT running?






1734593810990.png



1734593760035.png
 
I can see that you have a container and a VM. Judging from what you posted, I would make a guess that your VE machine is running something heavy or intensive. To narrow down where the high RAM usage is coming from, could you please post the output of the htop command on your machine?
 
Last edited:
Hi @simrsta

are you using ZFF?

If so, the ARC Storage is using your RAM.
You can set your ARC Limit lower with following:

zfs_arc_max=8589934592 converts to 8 GiB RAM
zfs_arc_max=17179869184 is for example 16 GiB RAM‬
Code:
echo "options zfs zfs_arc_max=8589934592" > /etc/modprobe.d/zfs.conf &&
echo "ZFS_INITRD_PRE_MOUNTROOT_SLEEP='5'" >> /etc/default/zfs &&
echo "ZFS_INITRD_POST_MODPROBE_SLEEP='5'" >> /etc/default/zfs &&
update-initramfs -u -k all &&
proxmox-boot-tool refresh
 
  • Like
Reactions: aabraham
Hi @simrsta

are you using ZFF?

If so, the ARC Storage is using your RAM.
You can set your ARC Limit lower with following:

zfs_arc_max=8589934592 converts to 8 GiB RAM
zfs_arc_max=17179869184 is for example 16 GiB RAM‬
Code:
echo "options zfs zfs_arc_max=8589934592" > /etc/modprobe.d/zfs.conf &&
echo "ZFS_INITRD_PRE_MOUNTROOT_SLEEP='5'" >> /etc/default/zfs &&
echo "ZFS_INITRD_POST_MODPROBE_SLEEP='5'" >> /etc/default/zfs &&
update-initramfs -u -k all &&
proxmox-boot-tool refresh
yes i using zfs
If I limit it, where will the impact be?
 

Attachments

  • arch.PNG
    arch.PNG
    42.6 KB · Views: 3
Hi @simrsta

You could Limit it to 32 Gib, there will be no significant impact.
Just don't set it too low. the 8 Gib limit we set is only for OS drives. But i don't recommend the 8 Gib limit for your setup :)
 
  • Like
Reactions: simrsta