NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Docker amd64 v
1 2 3 4 5 … 9 Next »
Using RAM for /buffer causes crash

 
  • 0 Vote(s) - 0 Average
Using RAM for /buffer causes crash
LiLao
Offline

Junior Member

Italy
Posts: 4
Threads: 1
Joined: Jul 2025
#1
2025-07-27, 04:50 PM
Hello, i've been experimenting with NextPVR for some time now, i would like to remove the /buffer from my drive as this will cause themto die prematurely due to necessary strain.

How, here's my docker compose:


services:
  nextpvr:
    image: nextpvr/nextpvr_amd64:latest
    container_name: nextpvr
    restart: unless-stopped
    privileged: true # Necessario per accedere ai dispositivi DVB
    ports:
      - 8866:8866 # Porta per l'interfaccia web
      - 16891:16891 # Porta per l'accesso ai dispositivi remoti
    devices:
      - /dev/dvb:/dev/dvb # Passa i dispositivi DVB al container
    volumes:
      - /mnt/Applicazioni/NextPVRConfig:/config # Configurazione persistente
      - /mnt/VAULT/registrazioni:/recordings # Directory per le registrazioni
    tmpfs:
      - /bufferConfusedize=536870912 # 512MB in RAM per il buffer (in byte)
    environment:
      - PUID=568
      - PGID=568
      - TZ=Europe/Rome
networks: {}

As you can see i've used tmpfs for storing the /buffer directory and i've experimented both with 256MB and 512MB buffer sizes, and what i noticed is that after a while (this time gets longer as the buffer size is increased) the stream eventually locks up, as this didn't happen before this is cleary the buffer filling up with stuff and NextPVR not being able to "Garbage Collect" the buffer.

Is this a bug? Does NextPVR normaly empty out the buffer during playback or it justs fills up until the stream is interrupted ?
LiLao
Offline

Junior Member

Italy
Posts: 4
Threads: 1
Joined: Jul 2025
#2
2025-07-27, 04:55 PM
Turns out i didn't noticed the "Live TV Buffer directory" in the webui and how it allows to limit the number of minutes to be stored, by default is 20 and 512MB should still be enought to fit 20 minutes, but still, i will experiment with reducing the ammounts of minutes and testing
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,447
Threads: 963
Joined: May 2006
#3
2025-07-27, 09:37 PM
There are many streams that are over 1.5 GB/hour plus with timeshifting NextPVR might store more than 3 or 4 segment files. You are better of with real storage. Even with SSD and NVeM storage I've never had problems with data life. (I have a working SSD from Vista still running v4)

Martin
JohnySmith1010
Offline

Junior Member

US
Posts: 20
Threads: 3
Joined: Jan 2024
#4
2025-07-28, 02:43 PM
Not sure if it is helpful, but I have a 16GB RAM drive on Windows that I have been using as buffer for years with ZERO issues. My computer has 64GB of RAM, which never gets anywhere close to using. I have bumped my RAM drive to 32GB with ZERO issues also for testing, but bumped it backed down to 16GB for giggles. This is for Windows 7 and 10 though so from a technical perspective there are no issues.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to write buffer. How do I debug? Sibiu 5 1,658 2023-09-18, 08:44 PM
Last Post: mvallevand
Wink Shared buffer between clients danny.bcn87 3 1,063 2023-02-10, 12:55 AM
Last Post: mvallevand
  Crash can not start Docker greg in kansas 16 4,441 2020-05-02, 02:26 AM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode