Wind River Support Network

HomeDefectsLIN5-18408
Fixed

LIN5-18408 : Memory leak by multiple SSH connection on Marvell Armada XP

Created: Mar 27, 2014    Updated: Dec 19, 2017
Resolved Date: May 18, 2014
Found In Version: 5.0.1.10
Fix Version: 5.0.1.15
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: BSP - Async, Networking
Architecture: ARM

Description

When I connect to target via multiple SSH session and check a memory usage on each sessions, memory leak may occur.

Steps to reproduce:

1. Connect to target via SSH (5 sessions)
2. Execute "cat /proc/meminfo" consecutively on each 5 SSH sessions (without a wait time)
3. Check memory usage every 10 seconds on serial console.

 At the result, you can see the memory leak in LowFree.

root@localhost:~# cat /proc/meminfo
  :
LowFree:          714032 kB  
  :

Check a Memory Usage on serial console:
root@localhost:~# cat /proc/meminfo | grep LowFree
LowFree:          705316 kB
root@localhost:~# cat /proc/meminfo | grep LowFree
LowFree:          704608 kB
root@localhost:~# cat /proc/meminfo | grep LowFree
LowFree:          704232 kB
root@localhost:~# cat /proc/meminfo | grep LowFree
LowFree:          703944 kB
root@localhost:~# cat /proc/meminfo | grep LowFree
LowFree:          703424 kB
root@localhost:~# cat /proc/meminfo | grep LowFree
LowFree:          703084 kB
root@localhost:~# cat /proc/meminfo | grep LowFree
LowFree:          702268 kB
root@localhost:~# cat /proc/meminfo | grep LowFree
LowFree:          701812 kB
root@localhost:~# cat /proc/meminfo | grep LowFree
LowFree:          701468 kB
root@localhost:~# cat /proc/meminfo | grep LowFree
LowFree:          701096 kB                  <==STOP "cat /proc/meminfo" above #2 in "Steps to reproduce"
root@localhost:~# cat /proc/meminfo | grep LowFree
LowFree:          701096 kB
root@localhost:~# cat /proc/meminfo | grep LowFree
LowFree:          701096 kB
root@localhost:~# cat /proc/meminfo | grep LowFree
LowFree:          701104 kB
root@localhost:~# cat /proc/meminfo | grep LowFree
LowFree:          701104 kB

Steps to Reproduce

Please see Description

Other Downloads


Live chat
Online