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:
- /buffer
ize=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 ?
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:
- /buffer

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 ?