Mem Leakage when recording multiple HD Channels..
Added by Jon _ over 10 years ago
Quick overview of my setup:
XBMCBuntu running HTS Tvheadend 3.5.247~g098b7de~quantal on an Atom/ION system
1 x Hauppage DVB-T USB card
2 x PCTV 290e DVB-T2 HD USB cards
1 x Connexant DVB-S2 HD PCI card
When the system is recording multiple (3-4) HD programs, the tvheadend memory usage goes beserk - the memory usage will climb and climb until the OS kills it for misbehaving. It'll then restart the service, the recordings will restart and the memory will start leaking again. The load averages on the box also climb and the system becomes very sluggish.
Idling and recording single programs at once doesn't seem to cause the issue, it's when the box starts recording multiples at once.
Any suggestions or places to look? I tried disabling full mux reception (was auto) as suggested in another old thread but it didn't make any difference...
Thanks
Jon
Replies (5)
RE: Mem Leakage when recording multiple HD Channels.. - Added by Prof Yaffle over 10 years ago
I'd immediately suggest that you try migrating to the newer versions - 3.9.x; you can add an unstable PPA or download the .deb file from the "Builds" link at the top. You'll need to use the migration script and do some reconfiguration as the tuner setup has changed in the newer builds, but it's not difficult.
https://tvheadend.org/boards/5/topics/9792
I don't recall seeing this on my 3.4/3.5 builds, although I've probably only ever peaked at 2 or 3 HD streams at a time - I have similar tuners, though, if that's at all relevant.
RE: Mem Leakage when recording multiple HD Channels.. - Added by Jon _ over 10 years ago
Thanks - I did wonder if the obvious course of action was going to be upgrade (which it's now doing in the background )
Thanks!
RE: Mem Leakage when recording multiple HD Channels.. - Added by Jon _ over 10 years ago
Not off to the best of starts - the migration script runs without errors or any output, but hasn't actually migrated anything
I'm reading the instructions right as in:
./conf_migrate.py .hts/tvheadend
(where .hts/tvheadend is the location of the config files)
RE: Mem Leakage when recording multiple HD Channels.. - Added by Prof Yaffle over 10 years ago
Yes - run it as the right user though (you need write permissions) and also take note that it creates a duplicate of your config in the new format (I seem to recall), so you won't notice until you restart under the new version.
RE: Mem Leakage when recording multiple HD Channels.. - Added by Jon _ over 10 years ago
Nope - it's still not having it.
I've managed to get it to rescan the channels, added the Freeview HD muxes that it didn't want to autodetect and map most of the channels - I'll have to try and remember what was set up to record and figure out why the radio time grabber has broken and I should be back to roughly where I was before...