[Openais] Corosync enters endless loop after hiccup in system

Steven Dake sdake at redhat.com
Tue Mar 30 09:48:11 PDT 2010


On Tue, 2010-03-30 at 11:43 +0200, Colin wrote:
> Hi All,
> 
> we are running Corosync 1.2.0-0ubuntu1 on Ubuntu 10.4 beta w/current
> updates; the cluster consists of two systems running in KVM, each on a
> dedicated host.
> 
> We have observed several times, but are unfortunately unable to nail
> the exact cause, that when the virtualised system that is running
> corosync has a "hiccup", i.e. hangs for couple of seconds when we
> introduce a delay into its storage access, then the corosync process
> enters an endless loop from which it doesn't ever seem to recover.
> 
> In this endless loop the process uses 193% CPU in the 2-CPU
> virtualised system, and is issuing a stream of wait4() system-calls
> (with an occasional nanosleep() and some futex-stuff).
> 

If you could explain how you delay your vm for a short period, I could
debug.

One thing you can try is to increase your token timeout (the token field
in the totem{} directive).  At the moment it is set to 1000 msec (1
second), but that may not be suitable for some virtualized environments.

Regards
-steve

> ...?
> 
> Thanks, Colin
> _______________________________________________
> Openais mailing list
> Openais at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais



More information about the Openais mailing list