LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Crashing ldirectord

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Crashing ldirectord
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Mon, 7 Jun 2010 17:53:20 +0900
On Mon, Jun 07, 2010 at 09:43:10AM +0200, Rob de Wit wrote:
> Op 07-06-10 08:41, Simon Horman schreef:
> > On Tue, Jun 01, 2010 at 11:24:20AM +0200, Rob de Wit wrote:
> >> LWP::Protocol::collect: read 16 bytes
> >> Can't call method "is_success" on an undefined value at
> >> /usr/sbin/ldirectord line 2759.
> >> failure
> >>
> >> Why would that happen?
> >> How can I stop ldirectord from crashing on it?
> >>
> >> ldirectord --version => Linux Director v1.186-ha
> > 
> > Hi Rob,
> > 
> > What I suspect is happening is that $res is not being set sometimes,
> > most likely because of a timeout. Could you try the following patch
> > to see if it helps? You should be able to apply it to your
> > ldirectord script.
> 
> 
> Thanks Simon,
> 
> I've applied the patch, I will check if the 'Timeout?' ever gets printed
> and let you know whether it keeps working as it should.

Great, thanks.


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>