Bug#708180: Fwd: Re: [rt.cpan.org #85308] applications die() because of SIGCHLD vs. SIGCLD confusion

Xavier x.guimard at free.fr
Thu May 16 03:58:14 UTC 2013


Forward upstream team response:

-------- Original message --------
Subject: Re: [rt.cpan.org #85308] applications die() because of SIGCHLD
vs. SIGCLD confusion
Date : Wed, 15 May 2013 09:07:38 -0400
>From : Paul Seamons via RT <bug-Net-Server at rt.cpan.org>
Reply To : bug-Net-Server at rt.cpan.org
To : x.guimard at free.fr

<URL: https://rt.cpan.org/Ticket/Display.html?id=85308 >

Likely the better solution would be to change that code to this:

$SIG{$sig} = sub{ $Net::Server::SIG::_SIG{$sig} = 1; };

That way, perl remains consistent and whatever awry value is being
returned on your platform is ignored.

I am a bit interested to know what platform you are running on. We have
thousands of people running Net::Server on many platforms and you are
the first to report the error.  I personally have had some servers in
use for over a decade, several getting millions of hits a month with
spikes to hundreds of connections per second, but have not seen this issue.

Either way - I think it is good to make the closure just depend on the
value it already knows about at creation.  I'm afraid changing it to
explicitly look for CLD would break many platforms.  So expect the fix
in 2.008 which we'll release soon.

Paul



More information about the pkg-perl-maintainers mailing list