Wind River Support Network

HomeDefectsLIN5-18122
Fixed

LIN5-18122 : CLONE - syslog-ng has still memory leaks

Created: Feb 18, 2014    Updated: Dec 19, 2017
Resolved Date: Mar 25, 2014
Previous ID: LIN4-31097
Found In Version: 5.0.1.11
Fix Version: 5.0.1.13
Severity: Standard
Applicable for: Wind River Linux 5
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