[mythtv-users] EITScanner and CPU usage

Daniel Carter dantheperson at gmail.com
Tue Mar 7 19:36:05 UTC 2006


Hello,

Today mthbackend started using 100% CPU and decided not to record
anything that was scheduled :(

Now i missed the World Rally in Mexico (if anyone recorded it and
feels like making it available...)

Anyways, I've been suffering from high CPU usage ever since i
installed myth.  0.19 is my first install.  I'm pretty sure it's
related to the EITScanner.

I'll start mythbackend and it will use no CPU usage until after a
minute or two when the EITScanner starts.

My logs normally look like:

2006-03-07 08:40:25.414 DVB#0 Using DVB card 0, with frontend 'Zarlink
MT352 DVB-T'.
2006-03-07 08:40:25.556 EITScanner: Now looking for EIT data on channel 25
2006-03-07 08:41:44.766 DVB#0 DVB SI Table Parser Started
2006-03-07 08:42:27.769 DVB#0 Using DVB card 0, with frontend 'Zarlink
MT352 DVB-T'.
2006-03-07 08:42:27.836 EITScanner: Now looking for EIT data on channel 70
2006-03-07 08:42:28.765 DVB#0 DVB SI Table Parser Started
2006-03-07 08:44:29.213 DVB#0 Using DVB card 0, with frontend 'Zarlink
MT352 DVB-T'.
2006-03-07 08:44:29.379 EITScanner: Now looking for EIT data on channel 47
2006-03-07 08:44:30.155 DVB#0 DVB SI Table Parser Started
2006-03-07 08:45:03.066 Running HouseKeeping

With myth using 35% cpu.
Sometime it will drop down to no CPU for a couple of mins and then
startup again.
The EITScanner will run keep running as above all day long.  I've
tryed upping the channel timeout to 15mins and tried dropping it to 2
mins.  No real difference.

Sometimes it goes up to 100% CPU.  Maybe in these cases it is starting
a new EITScanner thread before the old one finishes processing the
data it's found?

Today, when it got stuck at 100% and decided not to record anything
the logs look like so:

2006-03-07 08:50:34.265 DVB#0 Using DVB card 0, with frontend 'Zarlink
MT352 DVB-T'.
2006-03-07 08:50:34.338 EITScanner: Now looking for EIT data on channel 87
2006-03-07 08:50:35.072 DVB#0 DVB SI Table Parser Started
2006-03-07 08:52:35.776 DVB#0 Using DVB card 0, with frontend 'Zarlink
MT352 DVB-T'.
2006-03-07 08:52:35.913 EITScanner: Now looking for EIT data on channel 31
2006-03-07 08:52:36.751 DVB#0 DVB SI Table Parser Started
2006-03-07 08:55:03.086 Running HouseKeeping
2006-03-07 09:00:03.095 Running HouseKeeping
2006-03-07 09:05:03.104 Running HouseKeeping
2006-03-07 09:10:03.115 Running HouseKeeping
2006-03-07 09:15:03.130 Running HouseKeeping
2006-03-07 09:20:03.140 Running HouseKeeping
2006-03-07 09:25:03.149 Running HouseKeeping
2006-03-07 09:30:03.158 Running HouseKeeping

All it reports is Running HouseKeeping until tonight when my remote
frontend connected.

The backend still seems to be running fine, even though it hoggin all the CPU.

Has anyone seen something similar or got any suggestions?

I know i could just turn the EITScanner off, but then i wouldn't have
a program guide! And i'd like to help get it fixed.

If there was an option to have it scan once a day or once an hour
instead of constantly that would be ideal.

TIA,
dan.


More information about the mythtv-users mailing list