[systemd-devel] Systemd / PID 1 leak

Oleksii Shevchuk alxchk at gmail.com
Tue Nov 19 11:33:58 PST 2013


Systemd system instance (not the user one) is leaking for me.

WinterMute # while :; do systemctl daemon-reload; ps v 1; done
  PID TTY      STAT   TIME  MAJFL   TRS   DRS   RSS %MEM COMMAND
    1 ?        Rs     0:01     48  1000 30535  4244  0.0 /usr/lib/systemd/systemd
  PID TTY      STAT   TIME  MAJFL   TRS   DRS   RSS %MEM COMMAND
    1 ?        Rs     0:01     48  1000 30795  4488  0.0 /usr/lib/systemd/systemd
  PID TTY      STAT   TIME  MAJFL   TRS   DRS   RSS %MEM COMMAND
    1 ?        Rs     0:01     48  1000 31023  4708  0.0 /usr/lib/systemd/systemd
  PID TTY      STAT   TIME  MAJFL   TRS   DRS   RSS %MEM COMMAND
    1 ?        Rs     0:01     48  1000 31023  4776  0.0 /usr/lib/systemd/systemd
  PID TTY      STAT   TIME  MAJFL   TRS   DRS   RSS %MEM COMMAND
    1 ?        Rs     0:01     48  1000 31247  4936  0.0 /usr/lib/systemd/systemd
....
  PID TTY      STAT   TIME  MAJFL   TRS   DRS   RSS %MEM COMMAND
    1 ?        Rs     0:05     48  1000 44827 18096  0.2 /usr/lib/systemd/systemd
  PID TTY      STAT   TIME  MAJFL   TRS   DRS   RSS %MEM COMMAND
    1 ?        Rs     0:05     48  1000 44895 18128  0.2 /usr/lib/systemd/systemd
  PID TTY      STAT   TIME  MAJFL   TRS   DRS   RSS %MEM COMMAND
    1 ?        Rs     0:05     48  1000 44895 18168  0.2 /usr/lib/systemd/systemd
  PID TTY      STAT   TIME  MAJFL   TRS   DRS   RSS %MEM COMMAND
    1 ?        Rs     0:05     48  1000 44999 18248  0.2 /usr/lib/systemd/systemd
^C
WinterMute # systemctl daemon-reexec
WinterMute # ps v 1
  PID TTY      STAT   TIME  MAJFL   TRS   DRS   RSS %MEM COMMAND
    1 ?        Ss     0:05     48  1000 22027  3740  0.0 /usr/lib/systemd/systemd --system --deserialize 21

Any suggestions how to find the problem?


More information about the systemd-devel mailing list