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=e010395a46a9cd11293956919d606a8841ed7fd6
http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=8da7d3082b406641fa2d4f363b51300b1c639bfa

Greets
Mike


--

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

Attachment: pgpuYj6sU2ZkE.pgp
Description: Digitale PGP-Unterschrift

_______________________________________________
X2Go-Dev mailing list
X2Go-Dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/x2go-dev

Reply via email to