[mythtv-users] 0.25->0.26: problems with high mem consumption and oom kils

faginbagin mythtv at hbuus.com
Sun Sep 2 16:42:42 UTC 2012

On 9/2/2012 5:51 AM, Warpme wrote:
> Hi,
> Over week ago I moved from 0.25.2 to 0.26.
> I have headless BE (no X running) + 3x diskless FE (ION1, 2G RAM).
> Last week I was trying to understand what is driver significantly higher mem usage by 0.26.
> With 0.26 I have average 300-900MB for mythbackend process as avg 950MB for mythfrontned.
> mem issue is significant problem as it quickly decreasing WAF because frequent oom kills in FE (triggered when mythfrontend RSS crosses approx 1.1G).
> For mythfrontend I can't find any specific usage pattern leading to so high RSS, but during week of operation (and periodic monitoring RSS) I got impression RSS is high but stable except some moments when it "explodes" and is finished by oom killer.
> Unfortunately I cant find what is trigger to this. It seems to happen in UI operations but also in watching movie or pictures.
> For mythbackend, RSS is quite low after process start (230-300MB) but sometimes goes to 800-900MB and stays on that level.
> This increase is sporadic and I observed it is correlated with starting high number of concurrent recordings - but not always.
> I'll be really greatful if somebody hints me about most effective way to diagnose problem.
> Currently I'm quite desperate as those oom kills are really frustrating (i.e. we have evening with friends, wathing holidays pictures, and expierienced 3 oom kills; yesterday during normal BluRay movie watch also oom :-(
> -br

Why bother trying to diagnose it? Why not add swap space? You don't need to have a swap partition, you can add swap using a regular file. If you're running ubuntu, this should help:

The other option is to add more RAM.


More information about the mythtv-users mailing list