[X2Go-Dev] x2gocleansessions not handling sigchld

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Wed Sep 26 09:07:51 CEST 2012


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.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20120926/bd1eedae/attachment.pgp>


More information about the x2go-dev mailing list