[X2Go-Dev] Bug#38: Zombie processes caused by x2gocleansessions
Mike Gabriel
mike.gabriel at das-netzwerkteam.de
Wed Sep 26 09:51:05 CEST 2012
Package: x2goserver
Severity: normal
Version: 3.1.1.4
Tags: pending
Stéphane Graber reported the issue below to the x2go-dev Mailing list...
----- Weitergeleitete Nachricht von stgraber at ubuntu.com -----
Datum: Tue, 25 Sep 2012 22:44:16 -0400
Von: Stéphane Graber <stgraber at ubuntu.com>
Antwort an: x2go-dev at lists.berlios.de
Betreff: [X2Go-Dev] x2gocleansessions not handling sigchld
An: x2go-dev at lists.berlios.de
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;
--
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/579d5877/attachment.pgp>
More information about the x2go-dev
mailing list