[mythtv] wierd backend memory usage/reporting?

Jack Perveiler perveilerj at yahoo.com
Wed Sep 13 01:41:01 UTC 2006

So I updated recently (to r11068, not quite 0.20) and tonight I noticed
mythbackend appeared to be using a TON of memory:

mythtv at cerebro:~/myth_dev$ ps aux | grep mythbackend
mythtv   19034  0.3  5.6 1105592 58464 ?       Ssl  Sep06  29:32
/usr/local/bin/mythbackend --daemon --logfile /var/log/mythtv/mythbackend.log
--pidfile /var/run/mythtv/mythbackend.pid

That's right, 1.1 GB.

I only have 1 GB of ram, and only 512 MB of swap, so I was a little surprised
by this:

mythtv at cerebro:~/myth_dev$ free
             total       used       free     shared    buffers     cached
Mem:       1035072    1020308      14764          0        620     626464
-/+ buffers/cache:     393224     641848
Swap:       498004     248692     249312

Unless I'm mistaken, free says I have 641 MB free, not counting the cache.  My
total virtual space should be 1 GB (ram) + 0.5 GB (swap) = 1.5 GB available,
but I have 1.1 GB (backend) + 0.6 GB (free) = 1.6 GB, and that doesn't even
include 400 MB of mysql (or other processes).

Can someone please explain this to me, because either my machine is converting
energy into ram or I don't really understand what ps or free is reporting :)


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the mythtv-dev mailing list