Hooton, Gerard
2022-Mar-10 11:41 UTC
[CentOS] Process owned by a user running after logout
After logout, process owned by the logged out user keep running. If a user connects using ssh and then, without starting any programs, signs out the following processes remain running 4 S Tom 1808940 1 0 80 0 - 22440 do_epo 11:08 ? 00:00:00 /usr/lib/systemd/systemd --user 5 S Tom 1808943 1808940 0 80 0 - 75441 - 11:08 ? 00:00:00 (sd-pam) 0 S Tom 1809033 1 0 80 0 - 108596 x64_sy 11:08 ? 00:00:00 gio monitor -f /run/systemd/sessions/13496 0 S Tom 1809062 1808940 0 80 0 - 16095 do_epo 11:08 ? 00:00:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only This only applies to users who use ssh, when using the system console [Gnome 3 desktop] all processes own by a user stop when that user signs out. I have a number of users who use the computer for remote access and the number of these running process grows over a few weeks. I am using CentOS Stream 8. Kernel : 4.18.0-365.el8.x86_64 #1 SMP Thu Feb 10 16:11:23 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Hooton, Gerard
2022-Mar-10 13:13 UTC
[CentOS] Process owned by a user running after logout
Update: If I change the user's default shell from csh to bash the problem is fixed. However, we have most of our scripts for EDA tools written in csh -----Original Message----- From: "Hooton, Gerard" <g.hooton at ucc.ie<mailto:%22Hooton,%20Gerard%22%20%3cg.hooton at ucc.ie%3e>> Reply-To: CentOS mailing list <centos at centos.org<mailto:CentOS%20mailing%20list%20%3ccentos at centos.org%3e>> To: centos at centos.org <centos at centos.org<mailto:%22centos at centos.org%22%20%3ccentos at centos.org%3e>> Subject: [CentOS] Process owned by a user running after logout Date: Thu, 10 Mar 2022 11:41:22 +0000 Mailer: Evolution 3.36.5-0ubuntu1 [EXTERNAL] This email was sent from outside of UCC. After logout, process owned by the logged out user keep running. If a user connects using ssh and then, without starting any programs, signs out the following processes remain running 4 S Tom 1808940 1 0 80 0 - 22440 do_epo 11:08 ? 00:00:00 /usr/lib/systemd/systemd --user 5 S Tom 1808943 1808940 0 80 0 - 75441 - 11:08 ? 00:00:00 (sd-pam) 0 S Tom 1809033 1 0 80 0 - 108596 x64_sy 11:08 ? 00:00:00 gio monitor -f /run/systemd/sessions/13496 0 S Tom 1809062 1808940 0 80 0 - 16095 do_epo 11:08 ? 00:00:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only This only applies to users who use ssh, when using the system console [Gnome 3 desktop] all processes own by a user stop when that user signs out. I have a number of users who use the computer for remote access and the number of these running process grows over a few weeks. I am using CentOS Stream 8. Kernel : 4.18.0-365.el8.x86_64 #1 SMP Thu Feb 10 16:11:23 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux _______________________________________________ CentOS mailing list <mailto:CentOS at centos.org> CentOS at centos.org <https://lists.centos.org/mailman/listinfo/centos> https://lists.centos.org/mailman/listinfo/centos -- Gerard Hooton. Senior Technical Officer School of Engineering. University College Cork. College Road. Cork. Ireland. Loc8: WDR-04-60G Tel: +353 21 4902296 Mobile: +353 852813491