Sundtek Support Forum

English => Sundtek MediaTV Pro (Europe) => Thema gestartet von: carelw am November 27, 2009, 02:17:09 Nachmittag

Titel: [Solved] High memory usage mediaserv
Beitrag von: carelw am November 27, 2009, 02:17:09 Nachmittag
Hello,

After a couple of days running <mediasrv> I found a memory usage of 42%
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 7117 carel     20   0  495m  87m 6500 S    4  4.4  22:24.33 vdr
 1498 root      18  -2 1126m 848m  15m S    0 42.0 504:10.07 mediasrv

I use vdr-1.7.10, 1 x dvb-c and 1 x dvb-s PCI cards and use latest driver version.
This usage increases very slowly...
"/var/log/mediasrv.log" doesn't show anything special.

Do I have a memory-leak here ?

Kind regards

Carel
Titel: Re:High memory usage mediaserv
Beitrag von: carelw am November 30, 2009, 10:49:31 Nachmittag
No one seeing the same behaviour ?  ::)

I rebooted a couple of times, but without luck
I also completely reinstalled driver 091109.

Thanks

Carel
Titel: Re:High memory usage mediaserv
Beitrag von: Sundtek am November 30, 2009, 10:53:08 Nachmittag
What system/kernel do you use? Please retry with the latest available driver, if it still comes up like that we will check it.
Titel: Re:High memory usage mediaserv
Beitrag von: carelw am Dezember 01, 2009, 02:55:55 Nachmittag
Hello,

I use Debian Squeeze and "Linux 2.6.31.6 #15 SMP PREEMPT Tue Nov 3 13:39:16 CET 2009 i686 GNU/Linux"

I tried the new driver for a while, but unfortunately the old error "VDR: Too many open files" re-appeared...".  :(
But I will try it again, after deleting the previous driver completely.

Kind regards

Carel
Titel: Re:High memory usage mediaserv
Beitrag von: Sundtek am Dezember 07, 2009, 02:05:09 Nachmittag
The next update will also take care about the memory usage. The driver did not clean up the session memory when the client disconnected.

Due the network update the clienthandling part got updated, the too many files issue will also be solved with the next update.
Titel: Re:High memory usage mediaserv
Beitrag von: carelw am Dezember 07, 2009, 09:23:12 Nachmittag
Thanks  :)
Titel: Re:High memory usage mediaserv
Beitrag von: carelw am Dezember 18, 2009, 11:16:50 Vormittag
This: http://www.sundtek.com/support/empia_installer_091214.sh
 (http://www.sundtek.com/support/empia_installer_091214.sh) version may not be the latest official version  ::) but it does solve the aforementioned problems!

CU

Carel