On Mon, Dec 21, 2015 at 9:30 PM, Orion Poplawski <orion@cora.nwra.com> wrote:
On 12/21/2015 12:30 PM, Michael Stauffer wrote:
x2goagent: 3.5.0.31x2goserver: 4.0.1.19x2goserver-extensions: 4.0.1.19x2goserver-xsession: 4.0.1.19 CentOS Linux release 7.1.1503 (Core)
Hi, I've had this issue before but haven't figured it out. It still happens once in a while - I get sessions that won't die after calling x2goterminate. Here's one that's stuck now:
1174|asharma-62-1450478577_stRPUBLISHED_dp32|62|cx2go.uphs.upenn.edu <http://cx2go.uphs.upenn.edu
|R|2015-12-18T17:42:57|e016e30d1277cccb5d7360cc8760c01f|170.212.109.160|30045|30046|2015-12-18T17:43:27|asharma|247541|30047|
Furthermore, there's no process 1174 running, and the user asharma isn't running any processes either. This user is currently having trouble starting a new session, and I don't know if it's related to this or not. Anyone have any suggestions? Thanks.
-M
Is x2gocleansessions.service running?
systemctl status x2gocleansessions.service
This seems to have done the trick:
[root@cx2go ~]# systemctl status x2gocleansessions.service x2gocleansessions.service - X2go session cleanup Loaded: loaded (/usr/lib/systemd/system/x2gocleansessions.service; enabled) Active: failed (Result: exit-code) since Mon 2015-09-14 14:53:23 EDT; 3 months 7 days ago Main PID: 731 (code=exited, status=255) CGroup: /system.slice/x2gocleansessions.service
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
[root@cx2go ~]# systemctl restart x2gocleansessions.service
[root@cx2go ~]# systemctl status x2gocleansessions.service x2gocleansessions.service - X2go session cleanup Loaded: loaded (/usr/lib/systemd/system/x2gocleansessions.service; enabled) Active: active (running) since Tue 2015-12-22 17:00:11 EST; 1s ago Process: 8777 ExecStart=/usr/sbin/x2gocleansessions (code=exited, status=0/SUCCESS) Main PID: 8787 (x2gocleansessio) CGroup: /system.slice/x2gocleansessions.service └─8787 /usr/bin/perl /usr/sbin/x2gocleansessions
Now x2golistsessions_root doesn't show the couple sessions that recently wouldn't terminate from x2goterminate-session.
Thanks!
-M