Fixed
Created: Oct 30, 2014
Updated: Mar 31, 2016
Resolved Date: Oct 30, 2014
Found In Version: 7.0
Fix Version: 7.0
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace
,With syslog configured to use UDP transport to remote host,
- Remote port reachable for 30 minutes
- Remote port unreachable for 30 minutes
-> there is a memory leak :
) Same script for log generator as for the previous memory leak case
2) Additionally UDP protocol used
3) Remote service stays up for 30 minutes and then down for 30 minutes (when down, remote hosts sends ICMP port unreachable to us)
The difference in the config files is the following lines at the end of syslog-ng_remote.conf that wasused for the memory leak case :
rewrite r_host_1 { set("10.15.15.2", value("HOST")); };
rewrite r_program_1 { set("xxx", value("PROGRAM")); };
destination d_1 { udp("10.15.15.4" port(514) localip("10.15.15.2") template("$MSG\n") flags(syslog-protocol) frac_digits(3) log_fifo_size(1000)); };
log { source(s_to_remote); rewrite(r_host_1); rewrite(r_program_1); filter(f_level_7); destination(d_1); };
See above bt.