[PVE-User] A less aggressive OOM?
Roland
devzero at web.de
Thu Jul 10 18:11:41 CEST 2025
imho, killing processes because of arc using too much ram which can't be
reclaimed fast enough is a failure in overall memory coordination.
we can set zfs limits as a workaround, yes - but zfs and oomkiller is to
blame !!!
1. zfs should free up memory faster, as memory is also freed from
buffers/caches
2. oomkiller should put pressure on arc or try reclaim pages from that
first, instead of killing kvm processes. maybe oomkiller could be made
arc-aware!?
roland
>On 7/10/2025 11:08 AM, Roland via pve-user wrote:
>if OOM kicks in because half of the ram is being used for
caches/buffers, i would blame OOMkiller or ZFS for tha. The problem
should be resolved at zfs or memory management level.
>Absolutely no!
>You are responsible for giving ZFS the limits. As even described in
the proxmox documentation here:
>https://pve.proxmox.com/wiki/ZFS_on_Linux#sysadmin_zfs_limit_memory_usage
> _______________________________________________
> pve-user mailing list
> pve-user at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
_______________________________________________
pve-user mailing list
pve-user at lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
Am 10.07.25 um 16:49 schrieb dorsy via pve-user:
> On 7/10/2025 11:08 AM, Roland via pve-user wrote:
> if OOM kicks in because half of the ram is being used for
> caches/buffers, i would blame OOMkiller or ZFS for tha. The problem
> should be resolved at zfs or memory management level.
>
> Absolutely no!
> You are responsible for giving ZFS the limits. As even described in
> the proxmox documentation here:
> https://pve.proxmox.com/wiki/ZFS_on_Linux#sysadmin_zfs_limit_memory_usage
>
>> _______________________________________________
>> pve-user mailing list
>> pve-user at lists.proxmox.com
>> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
>
>
> _______________________________________________
> pve-user mailing list
> pve-user at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
More information about the pve-user
mailing list