Re: EarlyOOM +ZRAM Only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 14, 2020 at 12:42 PM Sergio Belkin <sebelk@xxxxxxxxx> wrote:
>
> 2 comments:
> - I don't use disk-based swap, only zram.
> - It happened again, and in this case there is no Virtual Machine nor Zoom app running:
> ago 14 15:08:37 dublin.ireland.home earlyoom[888]: sending SIGTERM to process 2052260 uid 1000 "Web Content": badness 322, VmRSS 447 MiB
> ago 14 15:08:40 dublin.ireland.home earlyoom[888]: process exited after 2.7 seconds
> ago 14 15:12:15 dublin.ireland.home earlyoom[888]: mem avail:   395 of 15887 MiB ( 2.49%), swap free:    0 of 4095 MiB ( 0.00%)
> ago 14 15:12:15 dublin.ireland.home earlyoom[888]: low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
> ago 14 15:12:15 dublin.ireland.home earlyoom[888]: sending SIGTERM to process 2055755 uid 1000 "Web Content": badness 319, VmRSS 392 MiB
> ago 14 15:12:17 dublin.ireland.home earlyoom[888]: process exited after 2.8 seconds
> ago 14 15:28:35 dublin.ireland.home earlyoom[888]: mem avail:   371 of 15887 MiB ( 2.34%), swap free:    0 of 4095 MiB ( 0.00%)
> ago 14 15:28:35 dublin.ireland.home earlyoom[888]: low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
> ago 14 15:28:35 dublin.ireland.home earlyoom[888]: sending SIGTERM to process 2062157 uid 1000 "Web Content": badness 327, VmRSS 553 MiB
> ago 14 15:28:37 dublin.ireland.home earlyoom[888]: process exited after 2.3 seconds


What's the workload? What  is filling up 4G of swap with inactive
pages such that none of them are being freed? The usual case is
available memory is well below the watermark before swap has filled.
But in this case, it's the opposite.

As sigterm is happening, memory available is still dropping. Some
process is still taking up more memory, but has low enough badness
that its not being terminated. It could be one of the exempt
processes.

>
> Perhaps this ps_mem snippet is useful:
> <snip
> Private  +   Shared  =  RAM used       Program
> </snip>
> ....
> <snip>
> 294.8 MiB +   4.7 MiB = 299.4 MiB       telegram-desktop.bin
> 290.3 MiB +  22.1 MiB = 312.4 MiB       rocketchat-desktop (5)
> 323.8 MiB +   9.5 MiB = 333.2 MiB       kwin_x11 (9)
> 344.5 MiB +   1.4 MiB = 345.8 MiB       nextcloud
> 373.2 MiB +  21.2 MiB = 394.4 MiB       spotify (5)
> 416.6 MiB +   1.3 MiB = 417.9 MiB       plasma-discover
> 448.5 MiB +  16.6 MiB = 465.2 MiB       MainThread
> 892.8 MiB + 444.5 KiB = 893.2 MiB       packagekitd
>   1.0 GiB +   8.6 MiB =   1.0 GiB       plasmashell
>   1.9 GiB +  81.0 MiB =   1.9 GiB       Web Content (9)

892M for packagekit? Seems excessive. I wonder what's up with that. It
is an exempt process. On my current system it's 1/2 that amount, which
is in turn twice that of GNOME shell. Hmm.

> Well I'll report soon, any  idea (remember I have 16 GB of RAM with 4G of zram-based swap) will be welcome

Very common. The defaults need to serve this use case.

-- 
Chris Murphy
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux