[mythtv-users] FEs have high CPU and memory usage

Stephen P. Villano stephen.p.villano at gmail.com
Tue Apr 22 05:41:50 UTC 2014


On 4/22/14, 12:16 AM, Karl Newman wrote:
> On Mon, Apr 21, 2014 at 7:27 PM, John Finlay <finlay at moeraki.com
> <mailto:finlay at moeraki.com>> wrote:
>
>     On 4/21/2014 5:23 PM, Stephen P. Villano wrote:
>
>         On 4/21/14, 8:22 PM, John Finlay wrote:
>
>             On 4/21/2014 3:47 PM, Stephen P. Villano wrote:
>
>                 On 4/21/14, 5:50 PM, John Finlay wrote:
>
>                     On 4/21/2014 2:26 PM, Mark Perkins wrote:
>
>                             On 22 Apr 2014, at 4:48 am, "John Finlay"
>                             <finlay at moeraki.com
>                             <mailto:finlay at moeraki.com>> wrote:
>
>                             I have three FEs with 2GB that slowly over
>                             the course of a week or
>                             so use use up all the memory and
>                             eventually crash I think may be due
>                             to running out of swap. The amount of
>                             memory usage seems to be
>                             related to the duty cycle of the FE i.e.
>                             the more that the FE is
>                             used the faster it uses up memory.
>
>                             These systems are all running Mythbuntu
>                             12.04 with fixes/0.27. The
>                             CPU usage also seems to be high on these
>                             systems when they are idle
>                             30%-72%. I don't see anything in the logs
>                             that indicates what's
>                             causing the apparently high CPU and memory
>                             usage but I probably need
>                             to run with different logging options.
>
>                             Is this level of CPU and memory usage
>                             normal? What would be a good
>                             approach to determining why these systems
>                             are using so many
>                             resources when idle?
>
>                             john
>                             _______________________________________________
>
>                         My main FE runs 24/7 and on idle sits at about
>                         1-2% CPU usage. It has
>                         4Gb memory but is only using 1.7Gb at the moment.
>
>                         Run 'top' from a command prompt to see what
>                         your memory usage is, it
>                         will also show you what program(s) are using
>                         your CPU, and work from
>                         there.
>
>                     I forgot to mention that I am using top to see
>                     what the CPU and memory
>                     usage is. I also forgot to mention that
>                     mythfrontend.real is the
>                     process that is using 30+% of the CPU and 30%-72%
>                     of the memory which
>                     seems unexpectedly high for idle usage.
>
>                     John
>                     _______________________________________________
>
>                 I have an FE playing on a notebook computer. It's
>                 currently playing a
>                 movie as well.
>                    PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>                 20   0 3424m 535m  56m R   56 26.9 517:12.52
>                 mythfrontend.re <http://mythfrontend.re>
>
>                 On my atom netbook, which is idle:
>                 20   0  585492  99916  40200 S   6.3  9.9 109:33.51
>                 mythfrontend.re <http://mythfrontend.re>
>
>                 I'd check top and even try htop to see what is chewing
>                 up resources.
>                 Myth doesn't use up *that* much horsepower.
>
>
>             Unfortunately mythfrontend.real seems to be the culprit on
>             all three FEs.
>             _______________________________________________
>
>         That's *really* strange. What distro are you on? What hardware
>         are you
>         running on? What else is installed? Which version of Myth are
>         you running?
>
>
>     All are running Mythbuntu 12.04 with fixes/0.27. Two are Nvidia
>     ION based systems and the third is an AMD dual core with an Nvidia
>     210.
>     These are dedicated to Mythtv so I haven't installed anything
>     beyond the basic distro and the Nvidia driver.
>
>     If I restart mythfrontend it initially runs with about 2% CPU and
>     13% memory when idle. When I play a recording it runs at 18% CPU
>     and 20% memory. While browsing the recordings the memory usage
>     rises to 40% which I presume is the result of loading all the
>     coverart and fanart images.
>
>
> I know nothing about mythbuntu, sorry, but any chance you're using 32
> bit? 64 bit is more widely used and thus better tested these days.
>
> Karl
>
>
> _______________________________________________
>
Is there anything amiss in the logs? I'm running both 64 bit and 32 bit,
but don't have Nvidia cards. Not seeing anything here at all like that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140422/ecd31214/attachment.html>


More information about the mythtv-users mailing list