Thomas Luetzel
|
io-pkt leak data section - ppc8260 ethernet driver
|
Thomas Luetzel
11/15/2016 3:58 AM
post117111
|
io-pkt leak data section - ppc8260 ethernet driver
Hello,
we do see on our system that io-pkt while running shows in different scenarios a memory leak. The memory in the data
section grows until the system has no resources (RAM) left and crashes!
----------------------------------------------------------------------------------
QNX Version used:
------------------------------------
QNX6.5 SP2 - PPC Platform
NIC Driver uses:
------------------------------------
from BSP 8260 pq2fads (QNX PQ2FADS BSP V1.0.2 (File revision: 1.43))
Start sequence of drivers (extract from a start up script):
------------------------------------
mount -T io-pkt -o channel=1,mac=$MAC1 devn-ppc8260-nxa.so
mount -T io-pkt -o channel=2,mac=$MAC2 devn-ppc8260-nxa.so
mount -T io-pkt -o channel=3,mac=$MAC3 devn-ppc8260-nxa.so
netmanager -r all -f $NETCONFIG
mount -T io-pkt -o bind=ip0,resolve=dns,resolve=autoresolve /usr/lib/lsm-qnet.so
----------------------------------------------------------------------------------
Other embedded sysetm are also connected on the network. If we now perform ls /net/$NODENAME the new node do appear.
By simple performing the "df -h" we can reproduce the leak.
The issue is, that our application does not execute this command - but we can see that ~4.5 hours the data section
(pidin -mem) of io-pkt do increase by 4kBytes.
Any help is welcome, also if more information is needed - please let me know
Kind Regards
Thomas L.
|
|
|