Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double GUI notification #108

Open
hakavlad opened this issue Nov 14, 2020 · 0 comments
Open

Double GUI notification #108

hakavlad opened this issue Nov 14, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@hakavlad
Copy link
Owner

ноя 14 18:27:56 PC nohang-desktop[5225]: >----- implement_corrective_action() ------------------>
ноя 14 18:27:56 PC nohang-desktop[5225]: Memory status that requires corrective actions:
ноя 14 18:27:56 PC nohang-desktop[5225]:   MemAvailable [263 MiB, 2.7 %] <= soft_threshold_min_mem [491 MiB, 5.0 %]
ноя 14 18:27:56 PC nohang-desktop[5225]:   SwapFree [959 MiB, 9.8 %] <= soft_threshold_min_swap [982 MiB, 10.0 %]
ноя 14 18:27:56 PC nohang-desktop[5225]: Found 51 tasks with non-zero oom_score (except init and self) in 17ms
ноя 14 18:27:56 PC nohang-desktop[5225]: TOP-15 tasks by badness:
ноя 14 18:27:56 PC nohang-desktop[5225]:   Name                PID badness
ноя 14 18:27:56 PC nohang-desktop[5225]:   --------------- ------- -------
ноя 14 18:27:56 PC nohang-desktop[5225]:   tail              24044     830
ноя 14 18:27:56 PC nohang-desktop[5225]:   kate              16048       5
ноя 14 18:27:56 PC nohang-desktop[5225]:   dolphin           15784       4
ноя 14 18:27:56 PC nohang-desktop[5225]:   systemd-journal     343       3
ноя 14 18:27:56 PC nohang-desktop[5225]:   mate-system-mon   14320       2
ноя 14 18:27:56 PC nohang-desktop[5225]:   lightdm-gtk-gre   14738       2
ноя 14 18:27:56 PC nohang-desktop[5225]:   mate-screensave   14906       2
ноя 14 18:27:56 PC nohang-desktop[5225]:   mate-system-mon   15090       2
ноя 14 18:27:56 PC nohang-desktop[5225]:   kactivitymanage   16106       2
ноя 14 18:27:56 PC nohang-desktop[5225]:   kate              16298       2
ноя 14 18:27:56 PC nohang-desktop[5225]:   stunnel4            859       1
ноя 14 18:27:56 PC nohang-desktop[5225]:   tor                 929       1
ноя 14 18:27:56 PC nohang-desktop[5225]:   mate-settings-d   14158       1
ноя 14 18:27:56 PC nohang-desktop[5225]:   mate-screensave   14185       1
ноя 14 18:27:56 PC nohang-desktop[5225]:   alarm-clock-app   14196       1
ноя 14 18:27:56 PC nohang-desktop[5225]: TOP printed in 1ms; process with highest badness:
ноя 14 18:27:56 PC nohang-desktop[5225]:   PID: 24044, name: tail, badness: 830
ноя 14 18:27:56 PC nohang-desktop[5225]: Recheck memory levels...
ноя 14 18:27:56 PC nohang-desktop[5225]: Memory status that requires corrective actions:
ноя 14 18:27:56 PC nohang-desktop[5225]:   MemAvailable [263 MiB, 2.7 %] <= soft_threshold_min_mem [491 MiB, 5.0 %]
ноя 14 18:27:56 PC nohang-desktop[5225]:   SwapFree [946 MiB, 9.6 %] <= soft_threshold_min_swap [982 MiB, 10.0 %]
ноя 14 18:27:56 PC nohang-desktop[5225]: Victim status (found in 1ms):
ноя 14 18:27:56 PC nohang-desktop[5225]:   PID:       24044, name: tail, state: R (running), EUID: 1001, SID: 14335 (bash), lifetime: 18s
ноя 14 18:27:56 PC nohang-desktop[5225]:   badness:   830, oom_score:  830, oom_score_adj:  0
ноя 14 18:27:56 PC nohang-desktop[5225]:   Vm, MiB:   Size: 16298, RSS: 7954 (Anon: 7953, File: 1, Shmem: 0), Swap: 8339
ноя 14 18:27:56 PC nohang-desktop[5225]:   cgroup_v1:
ноя 14 18:27:56 PC nohang-desktop[5225]:   cgroup_v2: /user.slice/user-1001.slice/session-10793.scope
ноя 14 18:27:56 PC nohang-desktop[5225]:   ancestry:  PID 14335 (bash) <= PID 14331 (lxterminal) <= PID 14166 (mate-panel)
ноя 14 18:27:56 PC nohang-desktop[5225]:   exe realpath: /usr/bin/tail
ноя 14 18:27:56 PC nohang-desktop[5225]:   cwd realpath: /home/user2
ноя 14 18:27:56 PC nohang-desktop[5225]: Memory info, MiB:
ноя 14 18:27:56 PC nohang-desktop[5225]:   total=9824, used=8868, free=337, available=262, shared=207, buffers=28, cache=591,
ноя 14 18:27:56 PC nohang-desktop[5225]:   swap_total=9824, swap_used=8878, swap_free=946
ноя 14 18:27:56 PC nohang-desktop[5225]: Implementing a corrective action:
ноя 14 18:27:56 PC nohang-desktop[5225]:   Sending SIGTERM to the victim
ноя 14 18:27:56 PC nohang-desktop[5225]: OK; total response time: 20ms
ноя 14 18:27:56 PC nohang-desktop[5225]: What happened in the last 66h 23min 36s:
ноя 14 18:27:56 PC nohang-desktop[5225]:   [ OK ] Sending SIGTERM to python3: 1
ноя 14 18:27:56 PC nohang-desktop[5225]:   [ OK ] Sending SIGTERM to tail: 12
ноя 14 18:27:56 PC nohang-desktop[5225]: The victim died in 0.9s
ноя 14 18:27:56 PC nohang-desktop[5225]: Memory status after implementing a corrective action:
ноя 14 18:27:56 PC nohang-desktop[5225]:   MemAvailable: 8467.4 MiB, SwapFree: 9290.7 MiB
ноя 14 18:27:56 PC nohang-desktop[5225]: Executing Command-78 ['sudo', '-u', 'user2', 'env', 'DISPLAY=:2', 'DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus', 'notify-send', '--icon=dialog-warning', '--app-
ноя 14 18:27:56 PC nohang-desktop[5225]: Executing Command-79 ['sudo', '-u', 'user', 'env', 'DISPLAY=:0', 'DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus', 'notify-send', '--icon=dialog-warning', '--app-n
ноя 14 18:27:56 PC nohang-desktop[5225]: Executing Command-80 ['sudo', '-u', 'user', 'env', 'DISPLAY=:3', 'DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus', 'notify-send', '--icon=dialog-warning', '--app-n
ноя 14 18:27:56 PC nohang-desktop[5225]: <----- exit from implement_corrective_action() --------<
@hakavlad hakavlad added the bug Something isn't working label Nov 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant