Project

General

Profile

TVH crashes with OOM (only) when recording

Added by Tomoki Hayashi about 8 years ago

All,

my TVH installation crashes with OOM when I use the DVR functionality - I've tested with several configurations and versions but now I am somewhat running out of ideas to test/fix, so here it is:

  • tvheadend 4.1-2163 FFMPEG disabled (negatively tested w/ previous versions down to 4.0.8 as well) on a very lean RasPI Jessie (PI Model B 512MB)
  • DVR recording path mounted to NAS (CIFS-Share)
  • plainly watching TV (no DVR involved) works fine for hours without any errors or crashes
  • using DVR tvheadend crashes at around 1hr into the recording with an OOM kernel error (full log attached) after getting multiple EOVERFLOW-errors:
    Aug 17 18:51:18 tvh-host kernel: [27827.198389] tvh:dvr invoked oom-killer: gfp_mask=0x24000c2, order=0, oom_score_adj=0
  • it seems that the "Skip commercial" setting has some effect on the # of errors, so I disabled it and got less EOVERFLOW errors but TVH still crashes anyway:
    Aug 22 18:34:37 fhem-host kernel: [28206.679789] tvh:dvr invoked oom-killer: gfp_mask=0x24201ca, order=0, oom_score_adj=0

Any Ideas? Your help is appreciated a lot!

Thanks a bunch,
Tom


Replies (4)

RE: TVH crashes with OOM (only) when recording - Added by Mark Clarkstone about 8 years ago

Tomoki Hayashi wrote:

All,

my TVH installation crashes with OOM when I use the DVR functionality - I've tested with several configurations and versions but now I am somewhat running out of ideas to test/fix, so here it is:

  • tvheadend 4.1-2163 FFMPEG disabled (negatively tested w/ previous versions down to 4.0.8 as well) on a very lean RasPI Jessie (PI Model B 512MB)
  • DVR recording path mounted to NAS (CIFS-Share)
  • plainly watching TV (no DVR involved) works fine for hours without any errors or crashes
  • using DVR tvheadend crashes at around 1hr into the recording with an OOM kernel error (full log attached) after getting multiple EOVERFLOW-errors:
    Aug 17 18:51:18 tvh-host kernel: [27827.198389] tvh:dvr invoked oom-killer: gfp_mask=0x24000c2, order=0, oom_score_adj=0
  • it seems that the "Skip commercial" setting has some effect on the # of errors, so I disabled it and got less EOVERFLOW errors but TVH still crashes anyway:
    Aug 22 18:34:37 fhem-host kernel: [28206.679789] tvh:dvr invoked oom-killer: gfp_mask=0x24201ca, order=0, oom_score_adj=0

Any Ideas? Your help is appreciated a lot!

Thanks a bunch,
Tom

Change the "Cache scheme:" in the profile to "Don't Keep" and if using mkv change to pass.

RE: TVH crashes with OOM (only) when recording - Added by Tomoki Hayashi about 8 years ago

...that's how it is set - Don't keep + pass ... but crashing, nonetheless...

RE: TVH crashes with OOM (only) when recording - Added by Mark Clarkstone about 8 years ago

Tomoki Hayashi wrote:

...that's how it is set - Don't keep + pass ... but crashing, nonetheless...

What about sync?

RE: TVH crashes with OOM (only) when recording - Added by Tomoki Hayashi about 8 years ago

...update...tested DVR w/ Matroska - it seems that there are no EOVERFLOW errors when using Matroska - switching back to "pass" again generates Errors...

    (1-4/4)