A one-liner ipvs patch
Subsystems (3)
Hi!
I have a few very high connection rate services behind LVS and when keepalived removes them because of problems, the LVS would be rebooted with tens of thousands of this message in the logs (rebooted by hardware watchdogs).
I have had it running on production systems for maybe 3 months or so and this problem hasn't occured any more, which does not prove that the patch isn't just curing a symptom, but I think it is concievable, that a lot of printks could hang a system.
Siim
ipvs: ratelimit flooding message in wrr scheduler
When all backends are removed from wrr scheduler by a monitoring agent, this message can flood so fast that a 10s watchdog would reset the system.
net/ipv4/ipvs/ip_vs_wrr.c +1 -1
@@ -169,7 +169,7 @@*/ if (mark->cw ==0 ) { mark->cl = &svc->destinations; -IP_VS_INFO ("ip_vs_wrr_schedule(): " +IP_VS_DBG_RL ("ip_vs_wrr_schedule(): " "no available servers\n" ); dest =NULL ; goto out;
Simon Horman
maintainerQuoted 11 lines · Siim Põder
Hi!
I have a few very high connection rate services behind LVS and when keepalived removes them because of problems, the LVS would be rebooted with tens of thousands of this message in the logs (rebooted by hardware watchdogs).
I have had it running on production systems for maybe 3 months or so and this problem hasn't occured any more, which does not prove that the patch isn't just curing a symptom, but I think it is concievable, that a lot of printks could hang a system.
Hi Siim,
When trying to apply this I noticed that it has already been included as "ipvs: Make wrr "no available servers" error message rate-limited" by Sven Wegener, which was included in 2.6.25-rc1.
Thanks
Quoted 9 lines · Siim Põder
I have a few very high connection rate services behind LVS and when keepalived removes them because of problems, the LVS would be rebooted with tens of thousands of this message in the logs (rebooted by hardware watchdogs).
I have had it running on production systems for maybe 3 months or so and this problem hasn't occured any more, which does not prove that the patch isn't just curing a symptom, but I think it is concievable, that a lot of printks could hang a system.
sorry, this has been fixed in 2.6.25 already.
Siim