[PVE-User] A less aggressive OOM?

dorsy dorsyka at yahoo.com
Thu Jul 10 18:15:55 CEST 2025


You did overcommit memory by not setting appropriate ZFS limits.

So OOMkiller saved Your machine from hangup in a memory constraint 
situation. That's easy like that.

Read The Fine Manual!

On 7/10/2025 6:11 PM, Roland wrote:
> 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

-- 
Üdvözlettel,
Dorotovics László
rendszergazda
IKRON Fejlesztő és Szolgáltató Kft.
Székhely: 6721 Szeged, Szilágyi utca 5-1.


More information about the pve-user mailing list