Re: ldirectord spinning on SIGPIPE

Simon Horman <[email protected]> Mon, 12 Jan 2009 20:49:10 +1100
Newsgroups gmane.linux.highavailability.ultramonkey
Message-ID <[email protected]>
On Mon, Jan 05, 2009 at 01:13:57PM +0000, Matthew Newton wrote:
> Hi,
> 
> I'm running a pair of load balancers here, both Debian etch,
> kernel 2.6.18 and heartbeat/ldirectord 2.0.7. ldirectord has 33
> virtual configurations in its config for several services, some
> tcp ports and a few on firewall marks. They are in the "high
> capacity, high availability and load balancing" configuration with
> direct routing[0].
> 
> The setup has been running stable for at least a couple of years
> now. Things don't change that frequently.
> 
> Recently the ldirectord process has stopped working fairly
> frequently. Symptoms are that services are not being checked, and
> the ipvs tables are not updated. The ldirectord process is still
> running, but stracing it gives, for example:
> 
> --- SIGPIPE (Broken pipe) @ 0 (0) ---
> write(4, "\27\3\1\0\33\r\310Q\347\n\230\375@\370 \372\263\322\256"..., 32) = -1 EPIPE (Broken pipe)
> --- SIGPIPE (Broken pipe) @ 0 (0) ---
> write(4, "\27\3\1\0\33\r\310Q\347\n\230\375@\370 \372\263\322\256"..., 32) = -1 EPIPE (Broken pipe)
> --- SIGPIPE (Broken pipe) @ 0 (0) ---
> write(4, "\27\3\1\0\33\r\310Q\347\n\230\375@\370 \372\263\322\256"..., 32) = -1 EPIPE (Broken pipe)
> 
> ...in a loop continuously.
> 
> I've found one post from this list a while back[1] where this was
> experienced, but this patch is in the version that we are using.
> 
> The server here is currently in this situation; I can leave it
> like this for a few hours if there is anything I can do to help
> debug, but obviously need to restart ldirectord soon so that it
> can work properly.
> 
> Any ideas?

Hi Matthew,

Almost certianly signal-handler badness = bug.

I strongly suspect that this has been fixed in more recent versions of
ldirectord (I recall fixing it). I can try and verify that if it helps.

-- 
Simon Horman
  VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
  H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en

_______________________________________________
Ultramonkey-users mailing list
[email protected]
http://lists.vergenet.net/listinfo/ultramonkey-users