Adding a bit more information to this.
At the time of the OOM trigger "free -h" shows that most memory is
consumed by the buffer cache and should be able to be released under
memory pressure:
total used free shared buff/cache available
Mem: 3,3Gi 1,2Gi 818Mi 156Ki 1,5Gi 2,0Gi
Swap: 8,0Gi 140Mi 7,9Gi
slabtop -o seems unremarkable:
OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME
146679 144151 98% 0,10K 3761 39 15044K Acpi-ParseExt
140385 139253 99% 0,19K 6685 21 26740K dentry
103368 100620 97% 0,05K 1416 73 5664K ftrace_event_field
100800 100797 99% 0,75K 4800 21 76800K shmem_inode_cache
77460 77460 100% 0,13K 2582 30 10328K kernfs_node_cache
56610 52020 91% 0,23K 3330 17 13320K arc_buf_hdr_t_full
47828 42980 89% 0,36K 2174 22 17392K dmu_buf_impl_t
44898 39180 87% 0,09K 1069 42 4276K abd_t
43264 37200 85% 0,03K 338 128 1352K kmalloc-rcl-32
43248 39368 91% 0,91K 2544 17 40704K dnode_t
40352 36596 90% 0,50K 2522 16 20176K kmalloc-rnd-07-512
32788 32788 100% 0,57K 2342 14 18736K radix_tree_node
25472 22764 89% 0,25K 1592 16 6368K sa_cache
The zfs arc also seems not to be the issue
c 4 534979352
c_max 4 2439602176
size 4 497935136
metadata_size 4 386640896
dnode_size 4 36822240
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175587
Title:
Frequent OOM trigger since kernel 7.0 with zfs
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-main-signed/+bug/2175587/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs