[vdr] VDR gets somehow stuck and consumes all CPU time

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Sat Dec 3 13:21:55 CET 2005


Paavo Hartikainen wrote:
> Every now and then (too often) I need to restart VDR because it starts
> to use lots of CPU time.  Problem may stay hidden for week, but
> sometimes it happens after less than one day.  VDR still works, but
> wastes CPU cycles.  This has been happening for long time, it is not
> any recent problem.
> 
> ---
> Linux 2.6.14
> PowerPC 604e
> 
> TechnoTrend DVB-C 2.1
> TechniSat DVB-C CableStar2
> 
> vdr (1.3.27)
> subtitles (0.3.8)
> streamdev-server (0.3.3-pre3-geni)
> ---
> 
> Someone probably has got ideas about how to debug this...

What we would need to know first is which of VDR's threads
actually consumes all this CPU time. Run VDR without NPTL
and use 'top' to find that out (AFAIK with NPTL all threads
of a given program have the same pid, so you won't be able to
distinguish them in 'top'). Then look into the log file
and find out which VDR thread corresponds to the pid that
consumes the most CPU time.

Klaus



More information about the vdr mailing list