Public bug reported:

xdg-desktop-portal uses large amounts of memory and is getting killed by
OOM killer.

Ubuntu 25.04

Package: xdg-desktop-portal
Version: 1.20.0+ds-2ubuntu1

Output from "journalctl -u xdg-desktop-portal --user"

    -- Boot e553100a7def49979647ee5e4c8521e1 --
    mai 11 19:19:58 alexc systemd[6900]: Starting xdg-desktop-portal.service - 
Portal service...
    mai 11 19:20:01 alexc systemd[6900]: Started xdg-desktop-portal.service - 
Portal service.
    mai 12 13:28:12 alexc xdg-desktop-por[7826]: Realtime error: Could not get 
pidns: Could not fstatat ns/pid: Not a directory
    mai 12 13:28:12 alexc xdg-desktop-por[7826]: Realtime error: Could not get 
pidns: Could not fstatat ns/pid: Not a directory
    mai 12 13:28:12 alexc xdg-desktop-por[7826]: Realtime error: Could not get 
pidns: Could not fstatat ns/pid: Not a directory
    mai 13 10:19:14 alexc systemd[6900]: xdg-desktop-portal.service: A process 
of this unit has been killed by the OOM killer.
    mai 13 10:19:15 alexc systemd[6900]: xdg-desktop-portal.service: Main 
process exited, code=killed, status=9/KILL
    mai 13 10:19:15 alexc systemd[6900]: xdg-desktop-portal.service: Failed 
with result 'oom-kill'.
    mai 13 10:19:15 alexc systemd[6900]: xdg-desktop-portal.service: Consumed 
20h 21min 47.363s CPU time, 5.9G memory peak, 20.1M memory swap peak.
    mai 13 10:19:18 alexc systemd[6900]: Starting xdg-desktop-portal.service - 
Portal service...
    mai 13 10:19:19 alexc systemd[6900]: Started xdg-desktop-portal.service - 
Portal service.
    mai 13 12:37:57 alexc xdg-desktop-por[3449990]: g_hash_table_lookup: 
assertion 'hash_table != NULL' failed
    mai 13 12:39:03 alexc xdg-desktop-por[3449990]: g_hash_table_lookup: 
assertion 'hash_table != NULL' failed
    mai 13 12:54:28 alexc xdg-desktop-por[3449990]: g_hash_table_lookup: 
assertion 'hash_table != NULL' failed
    mai 13 13:00:41 alexc xdg-desktop-por[3449990]: g_hash_table_lookup: 
assertion 'hash_table != NULL' failed
    mai 13 15:12:25 alexc xdg-desktop-por[3449990]: g_hash_table_lookup: 
assertion 'hash_table != NULL' failed
    mai 13 15:45:34 alexc xdg-desktop-por[3449990]: g_hash_table_lookup: 
assertion 'hash_table != NULL' failed
    mai 13 19:02:03 alexc xdg-desktop-por[3449990]: Realtime error: Could not 
get pidns: Could not fstatat ns/pid: Not a directory
    mai 13 19:02:09 alexc xdg-desktop-por[3449990]: Realtime error: Could not 
get pidns: Could not fstatat ns/pid: Not a directory
    mai 13 19:02:14 alexc xdg-desktop-por[3449990]: Realtime error: Could not 
get pidns: Could not fstatat ns/pid: Not a directory
    mai 13 19:02:19 alexc xdg-desktop-por[3449990]: Realtime error: Could not 
get pidns: Could not fstatat ns/pid: Not a directory
    mai 13 19:02:22 alexc xdg-desktop-por[3449990]: Realtime error: Could not 
get pidns: Could not fstatat ns/pid: Not a directory
    mai 13 19:02:31 alexc xdg-desktop-por[3449990]: Realtime error: Could not 
get pidns: Could not fstatat ns/pid: Not a directory
    mai 13 19:02:59 alexc xdg-desktop-por[3449990]: Realtime error: Could not 
get pidns: Could not fstatat ns/pid: Not a directory
    mai 13 19:03:06 alexc xdg-desktop-por[3449990]: Realtime error: Could not 
get pidns: Could not fstatat ns/pid: Not a directory
    mai 13 19:03:09 alexc xdg-desktop-por[3449990]: Realtime error: Could not 
get pidns: Could not fstatat ns/pid: Not a directory
    mai 13 19:03:19 alexc xdg-desktop-por[3449990]: Realtime error: Could not 
get pidns: Could not fstatat ns/pid: Not a directory
    mai 14 15:51:11 alexc systemd[6900]: xdg-desktop-portal.service: A process 
of this unit has been killed by the OOM killer.
    mai 14 15:51:12 alexc systemd[6900]: xdg-desktop-portal.service: Main 
process exited, code=killed, status=9/KILL
    mai 14 15:51:12 alexc systemd[6900]: xdg-desktop-portal.service: Failed 
with result 'oom-kill'.
    mai 14 15:51:12 alexc systemd[6900]: xdg-desktop-portal.service: Consumed 
11h 38min 31.663s CPU time, 4.9G memory peak, 6.8M memory swap peak.
    mai 14 15:51:14 alexc systemd[6900]: Starting xdg-desktop-portal.service - 
Portal service...
    mai 14 15:51:14 alexc systemd[6900]: Started xdg-desktop-portal.service - 
Portal service.

** Affects: xdg-desktop-portal (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2110687

Title:
  Memory leak - xdg-desktop-portal.service: A process of this unit has
  been killed by the OOM killer.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal/+bug/2110687/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to