linuxserver / docker-tvheadend

GNU General Public License v3.0
158 stars 87 forks source link

[BUG] Memory increase while recording #237

Closed M0dj0 closed 9 months ago

M0dj0 commented 12 months ago

Is there an existing issue for this?

Current Behavior

Hi,

when I am recording a program the memory is increasing until there is no more left. This is the same behavior like in 70 and in 71.

Expected Behavior

No response

Steps To Reproduce

  1. Start a recording via NFS share
  2. See memory increase until OOM

Environment

- Raspberry Pi 4 8 GB
- OS: Raspian Bullseye
- Docker 24.0.3
- TVHeadend docker image: 14298acb-ls174 (latest)
- NFS mount to a local nas for recordings

CPU architecture

x86-64

Docker creation

services:
  tvheadend:
    image: lscr.io/linuxserver/tvheadend
    container_name: tvheadend
    network_mode: host
    hostname: tvheadend
    restart: always
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Berlin
    volumes:
      - disk1:/config
      - /mnt/Recordings:/recordings

Container logs

2023-07-11 17:00:00.027 [   INFO] subscription: 0092: "DVR: Ulrich Wetzel - Das Strafgericht" unsubscribing from "RTL HD", username=""
2023-07-11 17:00:00.030 [   INFO] dvr: "Ulrich Wetzel - Das Strafgericht" on "RTL HD": End of program: Completed OK
2023-07-11 17:00:22.033 [   INFO] dvr: delete entry 6077df748ba1e2b2e7c344e50499a42d "Ulrich Wetzel - Das Strafgericht" on "RTL HD" start time 2023-07-11 15:59:30, scheduled for recording by "192.168.178.2", retention "On file removal" removal "Forever"
2023-07-11 17:00:36.086 [   INFO] dvr: entry 3833e85c944f3ec42d613a6641b7da14 "Ulrich Wetzel - Das Jugendgericht" on "RTL HD" starting at 2023-07-11 16:59:30, with broadcast id "<noid>", scheduled for recording by "192.168.178.2"
2023-07-11 17:00:36.086 [   INFO] dvr: "Ulrich Wetzel - Das Jugendgericht" on "RTL HD" recorder starting
2023-07-11 17:00:36.087 [   INFO] mpegts: 346MHz in Vodafone - tuning on SAT>IP DVB-C Tuner #1 (192.168.178.1@UDP)
2023-07-11 17:00:36.087 [   INFO] capmt: Line: Starting CAPMT server for service "RTL HD" on adapter 0
2023-07-11 17:00:36.087 [   INFO] subscription: 0093: "DVR: Ulrich Wetzel - Das Jugendgericht" subscribing on channel "RTL HD", weight: 500, adapter: "SAT>IP DVB-C Tuner #1 (192.168.178.1@UDP)", network: "Vodafone", mux: "346MHz", provider: "Digital Free", service: "RTL HD", profile="pass", username=""
2023-07-11 17:00:36.854 [   INFO] dvr: /recordings/TVH/Record/Ulrich Wetzel - Das Jugendgericht.ts from adapter: "SAT>IP DVB-C Tuner #1 (192.168.178.1@UDP)", network: "Vodafone", mux: "346MHz", provider: "Digital Free", service: "RTL HD"
2023-07-11 17:00:36.854 [   INFO] dvr:  #  type              lang  resolution  aspect ratio  sample rate  channels
2023-07-11 17:00:36.854 [   INFO] dvr:  1  TELETEXT                                                                 
2023-07-11 17:00:36.854 [   INFO] dvr:  2  DVBSUB            ger                                                    
2023-07-11 17:00:36.854 [   INFO] dvr:  3  H264                    1920x1080   ?                                    
2023-07-11 17:00:36.855 [   INFO] dvr:  4  AC3               ger                             96000        ?         
2023-07-11 17:00:36.855 [   INFO] dvr:  5  CA                                                                       
2023-07-11 17:00:36.855 [   INFO] dvr:  6  CA                                                                       
2023-07-11 17:00:36.855 [   INFO] dvr:  7  CA                                                                       
2023-07-11 17:00:36.855 [   INFO] dvr:  8  CA                                                                       
2023-07-11 17:00:36.855 [   INFO] dvr:  9  CA
github-actions[bot] commented 12 months ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

aptalca commented 12 months ago

That sounds like a tvh issue rather than a container issue and should be reported to them.

github-actions[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 8 months ago

This issue is locked due to inactivity