Hi Stéphane,
thanks for your patch.
On Mi 26 Sep 2012 04:44:16 CEST Stéphane Graber wrote:
Hello,
Running x2go 3.1.1.4-0~592~precise1 on 12.04, I'm still seeing x2gocleansessions not properly cleaning up after its children, resulting in a bunch of zombie processes.
I added a very basic SIGCHLD handler to the perl script and it seems to have been doing the trick, at least for the past few hours.
I just added: $SIG{CHLD} = sub { wait };
After the existing: $SIG{TERM}=\&catch_term;
Committed to both branches (master and release/3.1.1.x): http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=e010395a46a9cd11... http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=8da7d3082b406641...
Greets Mike
--
DAS-NETZWERKTEAM mike gabriel, rothenstein 5, 24214 neudorf-bornstein fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...