OpenWrt Forum Archive

Topic: MiniDLNA memory leak issue

The content of this topic has been archived on 27 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have recently installed MiniDLNA 1.1.4 to my WD N750 router running OpenWrt Chaos Calmer 15.05.1.  Whenever the MiniDLNA server is serving MP3 music to my Sony bluray player (as DLNA client), I notice that the free memory under Luci - Status - Overview drops from initially 80% to 2% over time after two hours playing and stays steady at 2%.  I have browsed the internet and found many people have reported such a problem not on OpenWrt but on other platforms.

I also notice that there is a makefile for OpenWrt MiniDLNA 1.1.5 at the link below:
https://github.com/openwrt/packages/blo … a/Makefile

Is it possible to use this makefile to update my existing installation to 1.1.5?  if positive, how should I do that?

Thank you for pointing me to the SnapShot package.

I have upgraded the MiniDLNA to 1.1.5 by installation the package below without errors:
https://downloads.openwrt.org/snapshots … ar71xx.ipk

However, it cannot be started by "/etc/init.d/minidlna start" and reports
"start-stop-daemon: can't execute '/usr/bin/minidlna': No such file or directory" but actually the file is there.

Anybody has any ideas?

I have been having a similar issue to your being unable to run the new DLNA. If I install a program not part of the squash FS, it won't run. This may help you, or not, but I thought perhaps you may want to know.

(Last edited by rdragonrydr on 30 Jun 2016, 13:09)

kingfish wrote:

I have recently installed MiniDLNA 1.1.4 to my WD N750 router running OpenWrt Chaos Calmer 15.05.1.  Whenever the MiniDLNA server is serving MP3 music to my Sony bluray player (as DLNA client), I notice that the free memory under Luci - Status - Overview drops from initially 80% to 2% over time after two hours playing and stays steady at 2%.  I have browsed the internet and found many people have reported such a problem not on OpenWrt but on other platforms.

I also notice that there is a makefile for OpenWrt MiniDLNA 1.1.5 at the link below:
https://github.com/openwrt/packages/blo … a/Makefile

Is it possible to use this makefile to update my existing installation to 1.1.5?  if positive, how should I do that?

If the memory usage stays steady, then it is typically not a memory leak. Also, how do you know the kernel isn't using memory for cache which can deplete your free memory? I haven't noticed any memory leakage with minidlna 1.1.4.

The discussion might have continued from here.