[Touch-packages] [Bug 1863228] Re: loginctl list-sessions shows ghost sessions that are never completely closed

2020-04-29 Thread Launchpad Bug Tracker
[Expired for systemd (Ubuntu) because there has been no activity for 60 days.] ** Changed in: systemd (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 1863228] Re: loginctl list-sessions shows ghost sessions that are never completely closed

2020-02-29 Thread Amos
One last thing if I may: what do you think is better, restart of the service or reboot of the vps? except for the additional logging, is there something I should be aware of when editing the above? Thanks -- You received this bug notification because you are a member of Ubuntu Touch seeded

[Touch-packages] [Bug 1863228] Re: loginctl list-sessions shows ghost sessions that are never completely closed

2020-02-28 Thread Dan Streetman
> is there anything I should be aware of like the consequence of such editing and restarting? enabling debug logging will significantly increase the amount of log messages that logind sends to your log journal/syslog. > You wrote reboot or restart, reboot you mean VPS and restart you mean

[Touch-packages] [Bug 1863228] Re: loginctl list-sessions shows ghost sessions that are never completely closed

2020-02-28 Thread Amos
Before doing so, is there anything I should be aware of like the consequence of such editing and restarting? You wrote reboot or restart, reboot you mean VPS and restart you mean systemd-logind service? Ofcourse I prefer to restart the service only and not the whole vps, is there a recommended

[Touch-packages] [Bug 1863228] Re: loginctl list-sessions shows ghost sessions that are never completely closed

2020-02-28 Thread Dan Streetman
I think you'll need to enable logind debug and reboot or restart systemd-logind: $ sudo systemctl edit systemd-logind in the editor that opens, put: [Service] Environment=SYSTEMD_LOG_LEVEL=debug then save the file, and reboot (or restart systemd-logind). After the number of sessions have

[Touch-packages] [Bug 1863228] Re: loginctl list-sessions shows ghost sessions that are never completely closed

2020-02-27 Thread Amos
I attached the xls because of the indentation problem. Here is the logind output in text (which is ok with indentation). ** Attachment added: "journal-logind.txt" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1863228/+attachment/5331729/+files/journal-logind.txt -- You received

[Touch-packages] [Bug 1863228] Re: loginctl list-sessions shows ghost sessions that are never completely closed

2020-02-27 Thread Dan Streetman
also please attach text in *text* format, not excel. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1863228 Title: loginctl list-sessions shows ghost sessions that are

[Touch-packages] [Bug 1863228] Re: loginctl list-sessions shows ghost sessions that are never completely closed

2020-02-27 Thread Dan Streetman
can you just attach it so I can look at the entire log please? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1863228 Title: loginctl list-sessions shows ghost sessions

[Touch-packages] [Bug 1863228] Re: loginctl list-sessions shows ghost sessions that are never completely closed

2020-02-27 Thread Amos
I attached an excel file of the ps -alx command. Regarding the other command, It is long because of the problem :) here is its content Feb 07 10:09:08 vps.server.local systemd[1]: Starting Login Service...

[Touch-packages] [Bug 1863228] Re: loginctl list-sessions shows ghost sessions that are never completely closed

2020-02-27 Thread Dan Streetman
Well launchpad really messed up the formatting of that output, didn't it :( If the journalctl output is large, you can attach the file to this bug, i.e.: $ journalctl -b -u systemd-logind > /tmp/journal-logind.txt then attach '/tmp/journal-logind.txt' -- You received this bug notification

[Touch-packages] [Bug 1863228] Re: loginctl list-sessions shows ghost sessions that are never completely closed

2020-02-27 Thread Amos
I did loginctl terminate-user domain before so now I have 47 such sessions. domain@domain:~$ ps -alx F UID PID PPID PRI NIVSZ RSS WCHAN STAT TTYTIME COMMAND 4 0 1 0 20 0 232712 10960 ep_pol Ss ?152:21 /lib/systemd/systemd --system --deserialize 12 1

[Touch-packages] [Bug 1863228] Re: loginctl list-sessions shows ghost sessions that are never completely closed

2020-02-27 Thread Dan Streetman
sorry, can you use -a instead of -e: $ ps -alx also would be useful to see: $ journalctl -b -u systemd-logind -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1863228

[Touch-packages] [Bug 1863228] Re: loginctl list-sessions shows ghost sessions that are never completely closed

2020-02-27 Thread Amos
Looks "quiet" but I have 1994 sessions in "loginctl list-sessions" domain@domain:~$ ps -elx F UID PID PPID PRI NIVSZ RSS WCHAN STAT TTYTIME COMMAND 5 1000 25901 25885 20 0 101548 1960 ? S? 0:00 sshd: domain@pts/0 0 1000 25902 25901 20 0 18628

[Touch-packages] [Bug 1863228] Re: loginctl list-sessions shows ghost sessions that are never completely closed

2020-02-27 Thread Dan Streetman
> Regarding "ps -elx", just to make sure: you want me to run it while I connect (ssh) using domain user? Any user on the system is fine; it will show info about all processes. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1863228] Re: loginctl list-sessions shows ghost sessions that are never completely closed

2020-02-27 Thread Amos
I login to domain user using ssh from time to time... as a "bonus", Virtualmin open/close a session for that same user to do its stuff: https://www.cloudmin.com/node/54674 The above is causing the number of ghost sessions to grow even more rapidly Regarding "ps -elx", just to make sure: you

[Touch-packages] [Bug 1863228] Re: loginctl list-sessions shows ghost sessions that are never completely closed

2020-02-27 Thread Dan Streetman
To clarify, you're not logging in yourself as 'domain' user, right? Also can you paste/attach the output of: $ ps -elx ** Changed in: systemd (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is

[Touch-packages] [Bug 1863228] Re: loginctl list-sessions shows ghost sessions that are never completely closed

2020-02-20 Thread Amos
I don't mean to sound rude, just want to understand how this is working. I gave it a week and now loginctl list-sessions have 1955 sessions like that and it keeps growing... How the bug reports are handled? Thanks -- You received this bug notification because you are a member of Ubuntu Touch

[Touch-packages] [Bug 1863228] Re: loginctl list-sessions shows ghost sessions that are never completely closed

2020-02-14 Thread Paul White
** Package changed: ubuntu => systemd (Ubuntu) ** Tags added: bionic -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1863228 Title: loginctl list-sessions shows ghost