What else in is the config?
when you say it hangs on a restart, is it eating CPU, doing a lot of I/O or just
sitting doing nothing?
I don't see a good reason to send to yourself over relp, and if your server is
doing that, you are trying very hard to create a loop.
David lang
On Fri, 12 Jun 2015, Aleksey Chudov wrote:
Date: Fri, 12 Jun 2015 12:24:19 +0300
From: Aleksey Chudov <[email protected]>
Reply-To: rsyslog-users <[email protected]>
To: [email protected]
Subject: [rsyslog] (no subject)
Hello,
I have configured Rsyslog central server and created the same RELP client
configuration for all Rsyslog clients and Rsyslog server itself.
My test configuration below
1. Server only
# cat /etc/rsyslog.d/00-server.conf
$ModLoad imrelp
$InputRELPServerRun 2514
$template DynHostMessages,
"/var/log/HOSTS/%HOSTNAME%/messages-%$YEAR%%$MONTH%%$DAY%"
if $inputname == 'imrelp' then {
*.* -?DynHostMessages
stop
}
2. Clients and server
# cat /etc/rsyslog.d/50-client.conf
$ModLoad omrelp
*.* :omrelp:127.0.0.1:2514
While using the above configuration Rsyslog server process hungs on every
restart and needs to be killed by SIGKILL. There's no problem with
delivery of messages.
This configuration may looks strange. Why server should send messages to
themselves over relp? Just to simplify the configuration and standardize
log files location for all hosts without creating custom rules for the
server.
I have tested official packages
rsyslog 7.6.7-1.el7
rsyslog-relp 7.6.7-1.el7
and
rsyslog 8.10.0.ad1-2.el7
rsyslog-relp 8.10.0.ad1-2.el7
Is it a bug?
Regards,
Aleksey
_______________________________________________
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.