1ORG.FREEDESKTOP.OOM1(5) org.freedesktop.oom1 ORG.FREEDESKTOP.OOM1(5)
2
3
4
6 org.freedesktop.oom1 - The D-Bus interface of systemd-oomd
7
9 systemd-oomd.service(8) is a system service which implements a
10 userspace out-of-memory (OOM) killer. This page describes the D-Bus
11 interface.
12
14 The service exposes the following interfaces on the Manager object on
15 the bus:
16
17 node /org/freedesktop/oom1 {
18 interface org.freedesktop.oom1.Manager {
19 methods:
20 DumpByFileDescriptor(out h fd);
21 signals:
22 Killed(s cgroup,
23 s reason);
24 };
25 interface org.freedesktop.DBus.Peer { ... };
26 interface org.freedesktop.DBus.Introspectable { ... };
27 interface org.freedesktop.DBus.Properties { ... };
28 };
29
30
31
32
33
34 Methods
35 Killed signal is sent when any cgroup is killed by oomd.
36
37 Note that more reasons will be added in the future, and the table below
38 will be expanded accordingly.
39
40 Table 1. Killing reasons
41 ┌────────────────┬───────────────────────────┐
42 │Reason │ Description │
43 ├────────────────┼───────────────────────────┤
44 │memory-used │ Application took too much │
45 │ │ memory and swap. │
46 ├────────────────┼───────────────────────────┤
47 │memory-pressure │ Application took enough │
48 │ │ memory and swap to cause │
49 │ │ sufficient slowdown of │
50 │ │ other applications. │
51 └────────────────┴───────────────────────────┘
52
54 These D-Bus interfaces follow the usual interface versioning
55 guidelines[1].
56
58 1. the usual interface versioning guidelines
59 https://0pointer.de/blog/projects/versioning-dbus.html
60
61
62
63systemd 254 ORG.FREEDESKTOP.OOM1(5)