Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: Leftover kdvb-fe processes
Oliver Endriss wrote:
>
> Klaus Schmidinger wrote:
> > When I run VDR there is a kdvb-fe process created when I open the
> > frontend. Sometimes there are two such processes created per DVB
> > card, one of them marked '<defunct>'. After stopping VDR (no matter
> > whether I explicitly do a 'close(fd_frontend)' or not) the
> > '<defunct>' kdvb-fe process goes away, but the other kdvb-fe process
> > stays alive and eats up all of the CPU time.
> >
> > If I then do a 'make rmmod' to get rid of these leftover processes, I
> > sometimes get this:
> >
> > [kernel oops]
>
> I reported this issue a few days ago in another thread.
> Since I did not get a helpful response, I started looking into this
> myself.
>
> It seems that the frontend process exits (and remains as a zombie
> process) as soon as the frontend is opened again.
> Does vdr open the frontend twice?
Actually it does - first in order to detect whether there is a device presnt,
and then when it actually uses it. I didn't know that it would hurt to open,
close and re-open the frontend. Shouldn't it be possible to open and close the
frontend any number of times?
> Anyway, it would be better to re-use an existing frontend process
> instead of exiting and creating a new one...
>
> > Question: why don't these kdvb-fe processes go away when the frontend
> > is closed? And what's with these <defunct> processes?
>
> The last frontend process will only exit if you set the module parameter
> dvb_shutdown_timeout to a non-zero value.
Ah, I see - guess I forgot about that.
Klaus
--
_______________________________________________________________
Klaus Schmidinger Phone: +49-8635-6989-10
CadSoft Computer GmbH Fax: +49-8635-6989-40
Hofmark 2 Email: kls@cadsoft.de
D-84568 Pleiskirchen, Germany URL: www.cadsoft.de
_______________________________________________________________
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index