Hi list, Has anyone else been running into issues with getting rid of phantom sessions?
root:~# x2golistsessions_root ... tail: cannot open `~userFyW7/.x2go/C-userFyW7-57-1286847204_stDGNOME_dp24/session.log' for reading: No such file or directory 20807|userFyW7-57-1286847204_stDGNOME_dp24|57|myhost|R|12.10.10 01:33:24|d95f46876fc3f7a208e46f806d185b20|X.X.X.X|30019|30020|12.10.10 01:33:24|userFyW7|144337|30021 ...
root:~# x2goterminate-session userFyW7-57-1286847204_stDGNOME_dp24 /usr/bin/x2goterminate-session: line 9: kill: (20807) - No such process
root:~# x2golistsessions_root ... tail: cannot open `~userFyW7/.x2go/C-userFyW7-57-1286847204_stDGNOME_dp24/session.log' for reading: No such file or directory 20807|userFyW7-57-1286847204_stDGNOME_dp24|57|myhost|R|12.10.10 01:33:24|d95f46876fc3f7a208e46f806d185b20|X.X.X.X|30019|30020|12.10.10 01:33:24|userFyW7|144337|30021 ...
And the phantom session is still listed. How can this be cleaned up?
Regards, Gerry
Ok, I'm still finding many problems with phantom sessions when we hammer the server with lots of sessions.
I've got many users with 2 sessions showing even though they only started 1 session.
I've got sessions in the database but no corresponding session processes.
I've got session processes with no corresponding session in the database.
I've got session listing script output showing 'tail <some file> no such file'
Ugh!!
Has anyone seen these problems? Any solutions?
Regards, Gerry
On 10/25/2010 06:19 PM, Gerry Reno wrote:
Ok, I'm still finding many problems with phantom sessions when we hammer the server with lots of sessions.
I've got many users with 2 sessions showing even though they only started 1 session.
I've got sessions in the database but no corresponding session processes.
This console message might explain how this one happens: delete from sessions where session_id='userQ6EN-65-1288043069_stDGNOME_dp24'; SQL error: delete on table "sessions" violates foreign key on table "mounts"
Sounds like something gets out of sync.
I've got session processes with no corresponding session in the database.
I've got session listing script output showing 'tail <some file> no such file'
Ugh!!
Has anyone seen these problems? Any solutions?
Regards, Gerry
X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
On 10/25/2010 06:33 PM, Gerry Reno wrote:
On 10/25/2010 06:19 PM, Gerry Reno wrote:
Ok, I'm still finding many problems with phantom sessions when we hammer the server with lots of sessions.
I've got many users with 2 sessions showing even though they only started 1 session.
I've got sessions in the database but no corresponding session processes.
This console message might explain how this one happens: delete from sessions where session_id='userQ6EN-65-1288043069_stDGNOME_dp24'; SQL error: delete on table "sessions" violates foreign key on table "mounts"
Sounds like something gets out of sync. Actually this is coming from x2golistsessions_sql
# sudo /usr/bin/x2golistsessions_sql myhost 18865|ubuntu-50-1288040327_stDGNOME_dp24|50|myhost|R|25.10.10 20:58:47|aa5a19e48f063585397df2b7fb4398f9|XXX.XXX.XXX.XXX|30001|30002|25.10.10 20:58:47|ubuntu|10444|30003 delete from sessions where session_id='userQ6EN-65-1288043069_stDGNOME_dp24'; SQL error: delete on table "sessions" violates foreign key on table "mounts" 12483|userQ6EN-65-1288043069_stDGNOME_dp24|65|myhost|F|25.10.10 21:44:29|fc9b1981ce9c8ede372c7095960ed977|XXX.XXX.XXX.XXX|30045|30046|25.10.10 22:14:01|userQ6EN|7702|30047
I've got session processes with no corresponding session in the database.
I've got session listing script output showing 'tail <some file> no such file'
Ugh!!
Has anyone seen these problems? Any solutions?
Regards, Gerry
X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
On Mon, 2010-10-25 at 18:19 -0400, Gerry Reno wrote:
Ok, I'm still finding many problems with phantom sessions when we hammer the server with lots of sessions.
I've got many users with 2 sessions showing even though they only started 1 session.
I've got sessions in the database but no corresponding session processes.
I've got session processes with no corresponding session in the database.
I've got session listing script output showing 'tail <some file> no such file'
Ugh!!
Has anyone seen these problems? Any solutions? <snip> I saw this for the first time the other day but I did not take the time to investigate at all - John