The server (vm) used as a management gateway to other service. Sessions
opened by SSH. Remote machine opens a SSH connection with a key, by SSH
force command, a python script opens, do the stuffs, and exits.
Sessions are in 'closing' state, but no processes (not even zombies) are
exist under this user.
root@ad:/run/systemd/sessions# grep -r 'STATE' . | grep closing | wc -l
12419
root@ad:/run/systemd/sessions# grep -r 'STATE' . | grep -v closing | wc -l
1
root@ad:/run/systemd/sessions# loginctl list-users
UID USER
1001 ad-sync-prod
0 root
root@ad:/run/systemd/sessions# ps -u ad-sync-prod
PID TTY TIME CMD
<empty list>
root@ad:/run/systemd/sessions# loginctl user-status ad-sync-prod
ad-sync-prod (1001)
Since: Fri 2015-02-27 13:40:08 CET; 5 days ago
State: opening
Failed to query ControlGroup: No such interface 'org.freedesktop.systemd1.Slice'
Sessions: 35752 35751 35750 35749 35748 35747 35746 35745 35744 35743
35742 35740 35739 35738 35737 35736 35735 35734 35733 35732 35731 35730 35729
35728 35726 35725 35724 35723 35722
Unit: user-1001.slice
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1426362
Title:
logind session files fill up /run space
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1426362/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs