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, 14 Jun 2010 18:01:36 +0900
On Mon, Jun 14, 2010 at 05:56:05PM +0900, Simon Horman wrote:
> On Mon, Jun 14, 2010 at 10:49:37AM +0200, Rob de Wit wrote:
> > Op 07-06-10 10:53, Simon Horman schreef:
> > > 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
> > >>>>
> > >>> 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.
> > >>
> > >> 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.
> > 
> > I'v erun the patched version for some time now and once in a while I get
> > the 'Timeout?' message without ldirecotd crashing. I consider this bug
> > fixed. Thanks!
> 
> Great, thanks. I'll remove the '?' and push the change into the tree
> for the next release.

http://hg.linux-ha.org/agents/rev/d2df1e746d28

_______________________________________________
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>