Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concurrent login / daemon-reload produces abandoned sessions #20136

Closed
nicolasbock opened this issue Jul 6, 2021 · 1 comment
Closed

Concurrent login / daemon-reload produces abandoned sessions #20136

nicolasbock opened this issue Jul 6, 2021 · 1 comment

Comments

@nicolasbock
Copy link

Using systemd-248.3-1ubuntu1 on Ubuntu Impish the following script produces multiple abandoned sessions:

$ for i in {1..100}; do sleep 0.2; ssh localhost sudo systemctl daemon-reload & ssh localhost sleep 1 & done
$ sleep 2
$ jobs -p | xargs --verbose --no-run-if-empty kill -KILL
$ systemctl | grep abandoned
  session-174.scope                    loaded active     abandoned Session 174 of user ubuntu
  session-175.scope                    loaded active     abandoned Session 175 of user ubuntu
  session-176.scope                    loaded active     abandoned Session 176 of user ubuntu
  session-25.scope                     loaded active     abandoned Session 25 of user ubuntu

I would like to debug this behavior further and understand why this is happening but don't know where to look next. Is there any information in particular I should look at?

@poettering
Copy link
Member

[Canned reply follows]

This is a bug and feature request tracker, and not a support forum. In order to keep frustration at a minimum the submission form should have made this very clear.

If you have questions about systemd use or how to do or make use of certain things, please contact a more appropriate forum, for example the systemd mailing list:

https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Thank you for understanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants