On Fri, 24 Jul 2015, [email protected] wrote:
Hi David,
Thank you again.
I tried the workaround but the HUP signal doesn't close the outputs :
* the source pid, source port, dest port stay the same even with a kill -HUP
loop.
In my logs i can see that the configuration is reread but the output's aren't
closed.
Jul 24 09:52:38 log-aggregator-itx2-1 rsyslogd: [origin software="rsyslogd" swVersion="8.10.0"
x-pid="23317" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
Jul 24 09:52:43 log-aggregator-itx2-1 rsyslogd: [origin software="rsyslogd" swVersion="8.10.0"
x-pid="23317" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
Jul 24 09:52:48 log-aggregator-itx2-1 rsyslogd: [origin software="rsyslogd" swVersion="8.10.0"
x-pid="23317" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
none of this data is supposed to chenage, where are you looking to say that the
source port is not changing?
do a netstat -an |grep ESTAB to show the established connections before and
after the HUP
David Lang
Regards,
Smana
----- Mail original -----
De: "David Lang" <[email protected]>
À: "rsyslog-users" <[email protected]>
Envoyé: Jeudi 23 Juillet 2015 20:18:26
Objet: Re: [rsyslog] Load balancing issue
On Thu, 23 Jul 2015, [email protected] wrote:
So to resume there's 2 remaining issues i would like to address :
* disabling octet count causes that my condition based on appname to be ignored
see my other message about fixing the format.
* i have a segfault when i enable rebindInterval
this looks like a bug that's been reported and someone has been assigned to
work onit. I'd suggest watching this bug and posting if alorbach has any trouble
duplicating things
https://github.com/rsyslog/rsyslog/issues/120
In the meantime, as a poor-man's work-around, you can setup a script that does
something like
while true
do
killall -HUP rsyslogd
sleep 10
done
this will send the HUP signal to rsyslog every 10 seconds, which will cause it
to close it's outputs (the same thing the rebindinterval does every X messages)
David Lang
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.