[vdr] Too many open files?

Nicolas Huillard nicolas at huillard.net
Tue Jun 6 09:01:33 CEST 2006


Gavin Hamill a écrit :
> Hi - I am trying a vanilla 1.3.37 (same issue with 1.4.0) with a USB
> DVB-T stick (a Freecom-branded Wideview 220 clone) which works perfectly
> with vlc, dvbstream, Kaffeine, etc.
> 
> If I run vdr, and then just try to record the current channel, I get this:
...
> Jun  5 13:48:59 telly vdr: [11315] ERROR (dvbdevice.c,673): Too many
> open files
...
> It would suggest that the number of PID filters on the device has been
> exceeded, but I know that there are 15 available, and VDR is only using
> nine:

Isn't this the actual kernel limit ?
Verify in /proc :

$ grep . /proc/sys/fs/file-*
/proc/sys/fs/file-max:154060
/proc/sys/fs/file-nr:3850       0       154060

I am currently using 3850 files out of 154060 system-wide available file
handles (Debian, kernel 2.6.8).
You may reach the limit set in your kernel.
Change this at run-time with something like "echo 154060 >
/proc/sys/fs/file-max"
Set this at boot-time by modifying /etc/sysctl.conf, if you distro
handles it.

Maybe something is leaking file handles somewhere. In that case, you
have to find an fix the problem.

-- 
NH



More information about the vdr mailing list