LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Ldirectord Redhat EL3 SSL checking problem

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Ldirectord Redhat EL3 SSL checking problem
From: Seth Daniel <lvs@xxxxxxxxxxxxxx>
Date: Fri, 5 Nov 2004 14:42:16 -0800
On Fri, Nov 05, 2004 at 11:05:25PM +0100, Johan Elmerfjord wrote:
> Hi Phil,
> 
> It looks very much like the problem I have.
> I addressed this issue in the Linux-HA mailinglist, but have not recievied
> any suggestions yet.
> I found a 'solution' that works for me. But I have no idea of what other
> impacts it may have.
> 
> See my problem and 'solution' in my original post:
> http://lists.linux-ha.org/pipermail/linux-ha/2004-November/012771.html

This is very similar to the solution I arrived at when I started to see
this problem.  The difference being that I set $SIG{'CHLD'} to undef
instead of commenting out the line (local $SIG{'CHLD'} = undef;).

The perlipc perldoc page suggests that if you set $SIG{'CHLD'} to
'IGNORE' then wait() will return -1.  It would also appear to be setting
$? to -1 as well which is where the problem comes in.  There isn't
really a reason to set $SIG{"CHLD"} to IGNORE since wait() is always
called.  

-- 
seth / @sethdaniel.org
This life is a test.  It is only a test.  Had this been an actual life, you
would have received further instructions as to what to do and where to go.
<Prev in Thread] Current Thread [Next in Thread>