[lvs-users] LVS dying with wrr scheduler

Siim Põder windo at p6drad-teel.net
Wed May 7 10:39:47 BST 2008


Yo!

We've had LVS machines dying a couple of times when the service is using
the wrr scheduler and keepalived pulls all real servers from behind the
service IP.

The symptoms are that there are a lot of (thousands, apparently for
every packet?) messages in syslog:
ip_vs_wrr_schedule(): no available servers

After which the machine hangs. I don't recall if i've had to boot it
manually or if it boots by itself.

Also, I'm not sure if it is that message that is killing the machine,
but the problem hasn't occured with other schedulers (that don't print
such a message). We use wrr the most though.

I think we should either remove the message or ratelimit it (unless the
bug is somewhere else). I tested the patch and it seems to be ok, but as
I'm unable to reproduce the hanging/crashing in test environment, I
can't verify wether it actually helps.

Siim
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ratelimit_wrr.diff
Url: http://lists.graemef.net/pipermail/lvs-users/attachments/20080507/dbf350b5/attachment.pl 

Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list