Wind River Support Network

HomeDefectsLIN6-6995
Fixed

LIN6-6995 : WRL6 - syslog-ng has still memory leaks

Created: Mar 25, 2014    Updated: Dec 3, 2018
Resolved Date: Mar 25, 2014
Previous ID: LIN5-18399
Found In Version: 6.0.0.2
Fix Version: 6.0.0.5
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

syslog-ng still shows memory leaks with wrl 4.3 and wrl 5 (version 3.4.2)

Steps to Reproduce

configure --enable-board=qemux86-64 --enable-build=production --enable-kernel=cgl --enable-rootfs=glibc_cgl --enable-jobs=9 --enable-parallel-pkgbuilds=9 --with-sstate-dir=../sstate_cache_dir --with-template=feature/syslog-ng342 --enable-addons=wr-rcfl --with-layer=rcfl --with-rcpl-version=0011

OR
configure --enable-kernel=cgl --enable-rootfs=glibc_cgl --enable-board=common_pc_64 --enable-jobs=4 --enable-parallel-pkgbuilds=4 ; make -C build syslog-ng.addpkg

then (on all platforms) :
make build-all

then : start the projects, 

1) extract the attached scriptfile onto your rootfs
2) then start the script on your target :

./testcase.sh & 
3) while this is running, run another script to dump the memory usage of syslog-ng :
ps aux | grep syslog-ng 
<-> get the Pid
then : run the attached dumpmem.sh <PID> 

then after let's say check the VmSize: parameter :

:/opt/adietsch/ERICSSON/ericsson_sgsn_wrl_501x_cgp/workspace/syslog_test/export/dist$ cat syslogmem.txt | grep VmSize
VmSize:	  127132 kB
VmSize:	  127132 kB
VmSize:	  127132 kB
VmSize:	  127132 kB
VmSize:	  127132 kB
VmSize:	  127132 kB
VmSize:	  127132 kB
VmSize:	  127132 kB
VmSize:	  127260 kB
VmSize:	  127260 kB
VmSize:	  127260 kB
VmSize:	  127260 kB
VmSize:	  127260 kB
VmSize:	  127388 kB
VmSize:	  127388 kB
VmSize:	  127388 kB
VmSize:	  127388 kB
VmSize:	  127388 kB
VmSize:	  127388 kB
VmSize:	  127516 kB
VmSize:	  127516 kB
VmSize:	  127516 kB
VmSize:	  127516 kB

...
...

VmSize:	  132640 kB
VmSize:	  132640 kB
VmSize:	  132640 kB
VmSize:	  132640 kB
VmSize:	  132640 kB
VmSize:	  132640 kB
VmSize:	  132640 kB
VmSize:	  132640 kB
VmSize:	  132640 kB
VmSize:	  132640 kB
VmSize:	  132640 kB
VmSize:	  132640 kB
VmSize:	  132640 kB
VmSize:	  132640 kB
VmSize:	  132640 kB


-> Memory consumption is increasing



Other Downloads


Live chat
Online