El mié., 12 ago. 2020 a las 17:17, Przemek Klosowski via devel (< devel@lists.fedoraproject.org>) escribió:
> On 8/12/20 2:27 PM, Sergio Belkin wrote: > > Hi! > > I 've just had a problem using EarlyOOM + ZRAM. I haven't a disk-based > > swap partition. > > I was using mainly Zoom (desktop app) + Firefox + VirtualBox (Debian > > with 4GB of RAM), and EarlyOOM killed Zoom in the middle of a call :( > > This is weird---your swap was 100% full, and ram almost full, and yet > killing 4GB VirtualBox didn't seem to free up memory. I suspect some > sort of measurement or reporting error---if these numbers were accurate, > EarlyOOM did have a reason to panic and kill zoom. BTW, zoom taking 721 > MiB is crazy. > > One possibility that comes to mind is that there's a process not > mentioned in the log (some system process???) that keeps allocating > memory as soon as it is freed by EarlyOOM, so killing the processes does > not result in increasing free memory (the first column). > > 399 of 15887 MiB ( 2.51%) SIGTERM "Web Content": badness 315, VmRSS 313 MiB > 397 of 15887 MiB ( 2.50%) SIGTERM "Web Content": badness 304, VmRSS 80 MiB > 379 of 15887 MiB ( 2.39%) SIGTERM "Web Content": badness 303, VmRSS 74 MiB > 335 of 15887 MiB ( 2.11%) SIGTERM "Web Content": badness 303, VmRSS 70 MiB > 315 of 15887 MiB ( 1.98%) SIGTERM "Web Content": badness 301, VmRSS 27 MiB > 288 of 15887 MiB ( 1.81%) SIGTERM "VirtualBoxVM":badness 212, VmRSS 4244 > MiB > 337 of 15887 MiB ( 2.13%) SIGTERM "zoom": badness 36, VmRSS 721 MiB > > Note how the full log helpfully mentions the actual tresholds for > SIGTERM: mem 2.52%, swap 10%, Where does 2.52 come from, pray? > _______________________________________________ > The only that I've found in logs is the infamous akonadi :) and sysstat-collect... earlyoom More information: systemctl status --no-pager --full earlyoom.service ● earlyoom.service - Early OOM Daemon Loaded: loaded (/usr/lib/systemd/system/earlyoom.service; enabled; vendor preset: disabled) Active: active (running) since Thu 2020-07-30 15:36:11 -03; 1 weeks 6 days ago Docs: man:earlyoom(1) https://github.com/rfjakob/earlyoom Main PID: 888 (earlyoom) Tasks: 1 (limit: 10) Memory: 1.8M (max: 50.0M) CPU: 1min 48.708s CGroup: /system.slice/earlyoom.service └─888 /usr/bin/earlyoom -r 0 -m 4 -M 409600 --prefer ^Web Content$ --avoid ^(dnf|packagekitd|gnome-shell|gnome-session-c|gnome-session-b|lightdm|sddm|sddm-helper|gdm|gdm-wayland-ses|gdm-session-wor|gdm-x-session|Xorg|Xwayland|systemd|systemd-logind|dbus-daemon|dbus-broker|cinnamon|cinnamon-sessio|kwin_x11|kwin_wayland|plasmashell|ksmserver|plasma_session|startplasma-way|xfce4-session|mate-session|marco|lxqt-session|openbox)$ ago 12 10:20:14 dublin.ireland.home earlyoom[888]: sending SIGTERM to process 1899907 uid 1000 "Web Content": badness 301, VmRSS 27 MiB ago 12 10:20:24 dublin.ireland.home earlyoom[888]: kill failed: Timer expired ago 12 10:20:24 dublin.ireland.home earlyoom[888]: mem avail: 288 of 15887 MiB ( 1.81%), swap free: 0 of 4095 MiB ( 0.00%) ago 12 10:20:24 dublin.ireland.home earlyoom[888]: low memory! at or below SIGTERM limits: mem 2.52%, swap 10.00% ago 12 10:20:24 dublin.ireland.home earlyoom[888]: sending SIGTERM to process 1898928 uid 1000 "VirtualBoxVM": badness 212, VmRSS 4244 MiB ago 12 10:20:24 dublin.ireland.home earlyoom[888]: process exited after 0.0 seconds ago 12 10:20:24 dublin.ireland.home earlyoom[888]: mem avail: 337 of 15887 MiB ( 2.13%), swap free: 0 of 4095 MiB ( 0.00%) ago 12 10:20:24 dublin.ireland.home earlyoom[888]: low memory! at or below SIGTERM limits: mem 2.52%, swap 10.00% ago 12 10:20:24 dublin.ireland.home earlyoom[888]: sending SIGTERM to process 1898342 uid 1000 "zoom": badness 36, VmRSS 721 MiB ago 12 10:20:24 dublin.ireland.home earlyoom[888]: process exited after 0.0 seconds -- -- Sergio Belkin LPIC-2 Certified - http://www.lpi.org
_______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org