Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Mythtvnz

Memory leak?

 

 

MythTV mythtvnz RSS feed   Index | Next | Previous | View Threaded


tortise at paradise

Sep 6, 2011, 4:22 AM

Post #1 of 6 (630 views)
Permalink
Memory leak?

Hi Gurus (I hope that's the correct plural!)
My mythbuntu 10.04 backend is misbehaving. I've turned it right off
(not disconnected the mains, will do that too) but the problem persists,
which seems to be some sort of memory leak as the memory % keeps
climbing until the box GUI becomes incredibly slow. The 2 CPU cores now
run at a minimum of 60%.

top gives me:
top - 23:03:51 up 35 min, 2 users, load average: 2.34, 2.19, 1.98
Tasks: 187 total, 2 running, 185 sleeping, 0 stopped, 0 zombie
Cpu(s): 43.1%us, 14.7%sy, 0.0%ni, 41.5%id, 0.6%wa, 0.0%hi, 0.2%si,
0.0%st
Mem: 2056708k total, 1977148k used, 79560k free, 10940k buffers
Swap: 4805624k total, 164k used, 4805460k free, 1178756k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2133 drone 20 0 370m 140m 7164 S 52 7.0 16:00.37
gnome-system-mo
1718 drone 20 0 23688 1096 536 S 48 0.1 15:00.28 dbus-daemon
2135 drone 20 0 158m 2732 1816 R 7 0.1 2:11.01
gvfs-gdu-volume
2143 drone 20 0 55300 1668 1100 S 4 0.1 1:10.32
gvfs-gphoto2-vo
2145 drone 20 0 69216 1580 1072 S 4 0.1 1:09.99
gvfs-afc-volume
1855 drone 20 0 280m 235m 1112 S 2 11.7 0:32.17 gvfsd
1628 root 20 0 135m 26m 11m S 1 1.3 1:33.64 Xorg
1132 mysql 20 0 248m 29m 2960 S 0 1.4 0:05.28 mysqld
1552 mythtv 20 0 804m 34m 6776 S 0 1.7 1:10.01 mythbackend
1765 drone 20 0 172m 7244 4864 S 0 0.4 0:04.06 xfce4-panel
2263 drone 20 0 19224 1472 1060 R 0 0.1 0:00.03 top
1 root 20 0 23844 1492 696 S 0 0.1 0:00.43 init
The software is up to date and I'm running myth 0.23-fixes 26863. I've
not much to it so its unlikely something I've done recently.
Can anyone suggest where to from here?

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


nick.rout at gmail

Sep 6, 2011, 12:55 PM

Post #2 of 6 (580 views)
Permalink
Re: Memory leak? [In reply to]

On Tue, Sep 6, 2011 at 11:22 PM, tortise <tortise [at] paradise> wrote:
> Hi Gurus  (I hope that's the correct plural!)
> My mythbuntu 10.04 backend is misbehaving.  I've turned it right off
> (not disconnected the mains, will do that too) but the problem persists,
> which seems to be some sort of memory leak as the memory % keeps
> climbing until the box GUI becomes incredibly slow.  The 2 CPU cores now
> run at a minimum of 60%.
>
> top gives me:
> top - 23:03:51 up 35 min,  2 users,  load average: 2.34, 2.19, 1.98
> Tasks: 187 total,   2 running, 185 sleeping,   0 stopped,   0 zombie
> Cpu(s): 43.1%us, 14.7%sy,  0.0%ni, 41.5%id,  0.6%wa,  0.0%hi,  0.2%si,
> 0.0%st
> Mem:   2056708k total,  1977148k used,    79560k free,    10940k buffers
> Swap:  4805624k total,      164k used,  4805460k free,  1178756k cached
>
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>  2133 drone     20   0  370m 140m 7164 S   52  7.0  16:00.37
> gnome-system-mo
>  1718 drone     20   0 23688 1096  536 S   48  0.1  15:00.28 dbus-daemon
>  2135 drone     20   0  158m 2732 1816 R    7  0.1   2:11.01
> gvfs-gdu-volume
>  2143 drone     20   0 55300 1668 1100 S    4  0.1   1:10.32
> gvfs-gphoto2-vo
>  2145 drone     20   0 69216 1580 1072 S    4  0.1   1:09.99
> gvfs-afc-volume
>  1855 drone     20   0  280m 235m 1112 S    2 11.7   0:32.17 gvfsd
>  1628 root      20   0  135m  26m  11m S    1  1.3   1:33.64 Xorg
>  1132 mysql     20   0  248m  29m 2960 S    0  1.4   0:05.28 mysqld
>  1552 mythtv    20   0  804m  34m 6776 S    0  1.7   1:10.01 mythbackend
>  1765 drone     20   0  172m 7244 4864 S    0  0.4   0:04.06 xfce4-panel
>  2263 drone     20   0 19224 1472 1060 R    0  0.1   0:00.03 top
>     1 root      20   0 23844 1492  696 S    0  0.1   0:00.43 init
> The software is up to date and I'm running myth 0.23-fixes 26863.  I've
> not much to it so its unlikely something I've done recently.
> Can anyone suggest where to from here?
\

Theres a contradiction there. Up to date is 0.24-fixes.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


tortise at paradise

Sep 6, 2011, 4:01 PM

Post #3 of 6 (583 views)
Permalink
Re: Memory leak? [In reply to]

On 7/09/2011 7:55 a.m., Nick Rout wrote:
> On Tue, Sep 6, 2011 at 11:22 PM, tortise<tortise [at] paradise> wrote:
>> Hi Gurus (I hope that's the correct plural!)
>> My mythbuntu 10.04 backend is misbehaving. I've turned it right off
>> (not disconnected the mains, will do that too) but the problem persists,
>> which seems to be some sort of memory leak as the memory % keeps
>> climbing until the box GUI becomes incredibly slow. The 2 CPU cores now
>> run at a minimum of 60%.
>>
>> top gives me:
>> top - 23:03:51 up 35 min, 2 users, load average: 2.34, 2.19, 1.98
>> Tasks: 187 total, 2 running, 185 sleeping, 0 stopped, 0 zombie
>> Cpu(s): 43.1%us, 14.7%sy, 0.0%ni, 41.5%id, 0.6%wa, 0.0%hi, 0.2%si,
>> 0.0%st
>> Mem: 2056708k total, 1977148k used, 79560k free, 10940k buffers
>> Swap: 4805624k total, 164k used, 4805460k free, 1178756k cached
>>
>> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
>> 2133 drone 20 0 370m 140m 7164 S 52 7.0 16:00.37
>> gnome-system-mo
>> 1718 drone 20 0 23688 1096 536 S 48 0.1 15:00.28 dbus-daemon
>> 2135 drone 20 0 158m 2732 1816 R 7 0.1 2:11.01
>> gvfs-gdu-volume
>> 2143 drone 20 0 55300 1668 1100 S 4 0.1 1:10.32
>> gvfs-gphoto2-vo
>> 2145 drone 20 0 69216 1580 1072 S 4 0.1 1:09.99
>> gvfs-afc-volume
>> 1855 drone 20 0 280m 235m 1112 S 2 11.7 0:32.17 gvfsd
>> 1628 root 20 0 135m 26m 11m S 1 1.3 1:33.64 Xorg
>> 1132 mysql 20 0 248m 29m 2960 S 0 1.4 0:05.28 mysqld
>> 1552 mythtv 20 0 804m 34m 6776 S 0 1.7 1:10.01 mythbackend
>> 1765 drone 20 0 172m 7244 4864 S 0 0.4 0:04.06 xfce4-panel
>> 2263 drone 20 0 19224 1472 1060 R 0 0.1 0:00.03 top
>> 1 root 20 0 23844 1492 696 S 0 0.1 0:00.43 init
>> The software is up to date and I'm running myth 0.23-fixes 26863. I've
>> not much to it so its unlikely something I've done recently.
>> Can anyone suggest where to from here?
> \
>
> Theres a contradiction there. Up to date is 0.24-fixes.

Maybe its up to date for that myth branch, which means its not changed
for some time, and the OS updates are all up to date!

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


dmoo1790 at ihug

Sep 6, 2011, 4:19 PM

Post #4 of 6 (590 views)
Permalink
Re: Memory leak? [In reply to]

On 06/09/11 23:22, tortise wrote:
> Hi Gurus (I hope that's the correct plural!)
> My mythbuntu 10.04 backend is misbehaving. I've turned it right off
> (not disconnected the mains, will do that too) but the problem persists,
> which seems to be some sort of memory leak as the memory % keeps
> climbing until the box GUI becomes incredibly slow. The 2 CPU cores now
> run at a minimum of 60%.
>
> top gives me:
> top - 23:03:51 up 35 min, 2 users, load average: 2.34, 2.19, 1.98
> Tasks: 187 total, 2 running, 185 sleeping, 0 stopped, 0 zombie
> Cpu(s): 43.1%us, 14.7%sy, 0.0%ni, 41.5%id, 0.6%wa, 0.0%hi, 0.2%si,
> 0.0%st
> Mem: 2056708k total, 1977148k used, 79560k free, 10940k buffers
> Swap: 4805624k total, 164k used, 4805460k free, 1178756k cached
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 2133 drone 20 0 370m 140m 7164 S 52 7.0 16:00.37
> gnome-system-mo
> 1718 drone 20 0 23688 1096 536 S 48 0.1 15:00.28 dbus-daemon
> 2135 drone 20 0 158m 2732 1816 R 7 0.1 2:11.01
> gvfs-gdu-volume
> 2143 drone 20 0 55300 1668 1100 S 4 0.1 1:10.32
> gvfs-gphoto2-vo
> 2145 drone 20 0 69216 1580 1072 S 4 0.1 1:09.99
> gvfs-afc-volume
> 1855 drone 20 0 280m 235m 1112 S 2 11.7 0:32.17 gvfsd
> 1628 root 20 0 135m 26m 11m S 1 1.3 1:33.64 Xorg
> 1132 mysql 20 0 248m 29m 2960 S 0 1.4 0:05.28 mysqld
> 1552 mythtv 20 0 804m 34m 6776 S 0 1.7 1:10.01 mythbackend
> 1765 drone 20 0 172m 7244 4864 S 0 0.4 0:04.06 xfce4-panel
> 2263 drone 20 0 19224 1472 1060 R 0 0.1 0:00.03 top
> 1 root 20 0 23844 1492 696 S 0 0.1 0:00.43 init
> The software is up to date and I'm running myth 0.23-fixes 26863. I've
> not much to it so its unlikely something I've done recently.
> Can anyone suggest where to from here?
>

I'm no guru but my first thought is why is gnome-system-monitor running
at 52% CPU? I don't think I've ever seen it so greedy on my system. If
it was me I'd kill it and see what happened. If it starts again at boot
look in init files to see what's starting it.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


nick.rout at gmail

Sep 6, 2011, 9:30 PM

Post #5 of 6 (581 views)
Permalink
Re: Memory leak? [In reply to]

On Wed, Sep 7, 2011 at 11:01 AM, tortise <tortise [at] paradise> wrote:
> On 7/09/2011 7:55 a.m., Nick Rout wrote:
>> On Tue, Sep 6, 2011 at 11:22 PM, tortise<tortise [at] paradise>  wrote:
>>> Hi Gurus  (I hope that's the correct plural!)
>>> My mythbuntu 10.04 backend is misbehaving.  I've turned it right off
>>> (not disconnected the mains, will do that too) but the problem persists,
>>> which seems to be some sort of memory leak as the memory % keeps
>>> climbing until the box GUI becomes incredibly slow.  The 2 CPU cores now
>>> run at a minimum of 60%.
>>>
>>> top gives me:
>>> top - 23:03:51 up 35 min,  2 users,  load average: 2.34, 2.19, 1.98
>>> Tasks: 187 total,   2 running, 185 sleeping,   0 stopped,   0 zombie
>>> Cpu(s): 43.1%us, 14.7%sy,  0.0%ni, 41.5%id,  0.6%wa,  0.0%hi,  0.2%si,
>>> 0.0%st
>>> Mem:   2056708k total,  1977148k used,    79560k free,    10940k buffers
>>> Swap:  4805624k total,      164k used,  4805460k free,  1178756k cached
>>>
>>>    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>>>   2133 drone     20   0  370m 140m 7164 S   52  7.0  16:00.37
>>> gnome-system-mo
>>>   1718 drone     20   0 23688 1096  536 S   48  0.1  15:00.28 dbus-daemon
>>>   2135 drone     20   0  158m 2732 1816 R    7  0.1   2:11.01
>>> gvfs-gdu-volume
>>>   2143 drone     20   0 55300 1668 1100 S    4  0.1   1:10.32
>>> gvfs-gphoto2-vo
>>>   2145 drone     20   0 69216 1580 1072 S    4  0.1   1:09.99
>>> gvfs-afc-volume
>>>   1855 drone     20   0  280m 235m 1112 S    2 11.7   0:32.17 gvfsd
>>>   1628 root      20   0  135m  26m  11m S    1  1.3   1:33.64 Xorg
>>>   1132 mysql     20   0  248m  29m 2960 S    0  1.4   0:05.28 mysqld
>>>   1552 mythtv    20   0  804m  34m 6776 S    0  1.7   1:10.01 mythbackend
>>>   1765 drone     20   0  172m 7244 4864 S    0  0.4   0:04.06 xfce4-panel
>>>   2263 drone     20   0 19224 1472 1060 R    0  0.1   0:00.03 top
>>>      1 root      20   0 23844 1492  696 S    0  0.1   0:00.43 init
>>> The software is up to date and I'm running myth 0.23-fixes 26863.  I've
>>> not much to it so its unlikely something I've done recently.
>>> Can anyone suggest where to from here?
>> \
>>
>> Theres a contradiction there. Up to date is 0.24-fixes.
>
> Maybe its up to date for that myth branch, which means its not changed
> for some time, and the OS updates are all up to date!

My point is you are not using the latest mythtv version. I think there
were some memory leaks ironed out a while ago. But for god's sake
don't go to the main mailing list and:

1. ask for help with 0.23-fixes, when 0.24-fixes is the current version; and/or

2. expect help on a supposed memory leak without a valgrind analysis.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


tortise at paradise

Sep 7, 2011, 5:06 AM

Post #6 of 6 (572 views)
Permalink
Re: Memory leak? [In reply to]

On 7/09/2011 11:19 a.m., David Moore wrote:
> On 06/09/11 23:22, tortise wrote:
>> Hi Gurus (I hope that's the correct plural!)
>> My mythbuntu 10.04 backend is misbehaving. I've turned it right off
>> (not disconnected the mains, will do that too) but the problem persists,
>> which seems to be some sort of memory leak as the memory % keeps
>> climbing until the box GUI becomes incredibly slow. The 2 CPU cores now
>> run at a minimum of 60%.
>>
>> top gives me:
>> top - 23:03:51 up 35 min, 2 users, load average: 2.34, 2.19, 1.98
>> Tasks: 187 total, 2 running, 185 sleeping, 0 stopped, 0 zombie
>> Cpu(s): 43.1%us, 14.7%sy, 0.0%ni, 41.5%id, 0.6%wa, 0.0%hi, 0.2%si,
>> 0.0%st
>> Mem: 2056708k total, 1977148k used, 79560k free, 10940k buffers
>> Swap: 4805624k total, 164k used, 4805460k free, 1178756k cached
>>
>> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
>> 2133 drone 20 0 370m 140m 7164 S 52 7.0 16:00.37
>> gnome-system-mo
>> 1718 drone 20 0 23688 1096 536 S 48 0.1 15:00.28 dbus-daemon
>> 2135 drone 20 0 158m 2732 1816 R 7 0.1 2:11.01
>> gvfs-gdu-volume
>> 2143 drone 20 0 55300 1668 1100 S 4 0.1 1:10.32
>> gvfs-gphoto2-vo
>> 2145 drone 20 0 69216 1580 1072 S 4 0.1 1:09.99
>> gvfs-afc-volume
>> 1855 drone 20 0 280m 235m 1112 S 2 11.7 0:32.17 gvfsd
>> 1628 root 20 0 135m 26m 11m S 1 1.3 1:33.64 Xorg
>> 1132 mysql 20 0 248m 29m 2960 S 0 1.4 0:05.28 mysqld
>> 1552 mythtv 20 0 804m 34m 6776 S 0 1.7 1:10.01 mythbackend
>> 1765 drone 20 0 172m 7244 4864 S 0 0.4 0:04.06 xfce4-panel
>> 2263 drone 20 0 19224 1472 1060 R 0 0.1 0:00.03 top
>> 1 root 20 0 23844 1492 696 S 0 0.1 0:00.43 init
>> The software is up to date and I'm running myth 0.23-fixes 26863. I've
>> not much to it so its unlikely something I've done recently.
>> Can anyone suggest where to from here?
>>
>
> I'm no guru but my first thought is why is gnome-system-monitor running
> at 52% CPU? I don't think I've ever seen it so greedy on my system. If
> it was me I'd kill it and see what happened. If it starts again at boot
> look in init files to see what's starting it.

Thanks for the tip David. That seems to be the problem, if I reboot and
not start that (I'd started it from the GUI each time) it behaves again.
I don't recall it being updated but maybe it was, I'll do some
googling of that when I get a mo. to see if there are any similar
reports. Backend seems ok now without that running. When it was
running for some period the Window to System Monitor would become
un-responsive and refuse to close, which made it hard to kill it there!
When I am game I'll run it again and kill it via a terminal to confirm
that is the culprit.


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

MythTV mythtvnz RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.