[X2Go-Dev] x2gocleansessions not handling sigchld
Stéphane Graber
stgraber at ubuntu.com
Wed Sep 26 04:44:16 CEST 2012
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;
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20120925/0aad322d/attachment.pgp>
More information about the x2go-dev
mailing list