Opened 10 years ago

Closed 10 years ago

#8350 closed defect (fixed)

mythfilldatabase grabber scripts time out is too short

Reported by: michael_zanetti@… Owned by: stuartm
Priority: minor Milestone: unknown
Component: MythTV - Mythfilldatabase Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Hello,

I have the issue, that if my backend/frontend machine is under high load (recording + watching + mythcommflag) and mythfilldatabase starts, it times out too fast waiting for the xmltv grabber script capabilites. I can reproduce this at least with tv_grab_eu_epgdata and tv_grab_de_tvmovie_clickfinder.

mythfilldatabase starts and asks the configured script for its capabilites. If the machine is under high load, it could take some seconds until the script has been parsed, executed and produces the expected output. mythfilldatabase times out quite often waiting for this.

Here is the mythfilldatabase output snippet: 2010-04-15 09:45:19.729 Found 27 channels for source 1 which use grabber

2010-04-15 09:45:35.115 tv_grab_eu_epgdata --capabilities failed or we timed out waiting. You may need to upgrade your xmltv grabber

2010-04-15 09:45:35.379 Grabbing XMLTV data using tv_grab_eu_epgdata is not supported. You may need to upgrade to the latest version of XMLTV.

It seems the timeout is about 5 seconds. While this is enough for idle to medium load system, it times out under high load.

Change History (1)

comment:1 Changed 10 years ago by robertm

Resolution: fixed
Status: newclosed

(In [24155]) Fix #8350. Increase the grabber capabilities query timeout in mythfilldatabase to work around bug in XMLtv grabbers when a capabilities query takes an outlandishly long time. Also slightly more tolerant then used on underpowered systems.

Note: See TracTickets for help on using tickets.