Wind River Support Network

HomeDefectsLIN6-7735
Fixed

LIN6-7735 : CLONE - wrl 4 : syslog-ng 3.4.2 memory leak after 16 hours when remote connections are used

Created: Jun 19, 2014    Updated: Dec 3, 2018
Resolved Date: Jun 22, 2014
Previous ID: LIN4-31520
Found In Version: 6.0
Fix Version: 6.0.0.9
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

,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); };

Steps to Reproduce

See above bt. 

Other Downloads


Live chat
Online