On May 13, 2013, at 5:12 AM, Philippe Muller <[email protected]> wrote:

> As far I know, rsyslog doesn't do "load balancing".

Actually, it does play very nicely with load balancers such as HAproxy.

$ActionSendTCPRebindInterval <number>

will configure the TCP forwarding to rebind the TCP connection every <number> 
messages which makes it work perfectly through a load balancer.  I'm currently 
doing exactly this with HAproxy and it works a treat when using straight TCP 
output.

However, it seems that the omfwd module is the only module that supports this 
configuration.  I do not believe RELP or any of the other om* modules support 
setting a TCP rebind interval.

Bear in mind, do not set that number too low, you don't want it rebinding too 
frequently.  I currently rebind after every 2000 message which with my traffic 
load is somewhere in the ballpark of 2 seconds generally.

-- Gary F.


_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to