[mythtv-users] Mythtv stuttering - help debugging - memory leak?

John Drescher drescherjm at gmail.com
Sat Mar 21 14:11:32 UTC 2009


On Thu, Mar 19, 2009 at 11:51 PM,  <mythtv at corwyn.net> wrote:
> At 06:24 PM 3/18/2009, Rick Steeves wrote:
>
>> Environment:
>> I'm currently running mythtv-0.21-198.el5 on CentOS kernel
>> 2.6.18-92.1.18.el5 with a Happtpauge pvr-350
>>
>> I have a server that is frontend and backend, but I normally watch myth
>> using mvpmc on the Haupptpauge MediaMVP.  The problem I see is that after
>> running for a while the video starts stuttering. the buffer indicator on the
>> mvpmc shows that the buffer isn't staying full.
>
>
> OK, I believe the problem is a memory leak somewhere directly tied to the
> mypmc/myth.
>
> At the point it starts stuttering, free reports:
> [root at glutton /]# free
>             total       used       free     shared    buffers     cached
> Mem:       1800232    1789988      10244          0      15268    1230248
> -/+ buffers/cache:     544472    1255760
> Swap:      2024180        128    2024052
>
>
> Note only 10 mb free, where the system has ~ 800 MB free when the show
> starts. When nothing is playing, no problems. When I reboot the system no
> problems until I run out of memory. Any suggestions?
>

This is normal with linux it means linux is actually using memory for
a cache. I rebooted my machine with 6 GB of memory last night to
replace the cpu fan and I now have 197 MB free out of 6GB. In this
case I have used myth since the reboot.

jmd0 ~ # free
             total       used       free     shared    buffers     cached
Mem:       6094504    5896820     197684          0     143644    4251608
-/+ buffers/cache:    1501568    4592936
Swap:     15681512      78048   15603464

John


More information about the mythtv-users mailing list