[mythtv-users] LiveTV playback spontaneously stops on latest v31/fixes
Tim Pletcher
pletchtd at gmail.com
Wed Mar 11 17:54:45 UTC 2020
>
> Unfortunately, what I've been looking into wouldn't find tag='MythFillDB'.
> Don't know
> if the lastrun/lastsuccess entries (that look good) are from housekeeper
> or from a
> command line run of MFDB.
>
> I know you said 'Mythfilldatabase doesn't throw any errors', but running
> every minute
> is what the housekeeper does. In the backend log, there would be a line
> similar to this:
>
> ... MythFillDatabase command '/usr/bin/mythfilldatabase' failed"
>
> from the housekeeper code. Possible difference being the user running the
> command.
>
Thank you again for looking into this. I think there must have been an
issue with the mythfilldatase job not completing successfully related to
some tinkering I was doing while trying to upgrade Xmltv to the latest
version. Perhaps it was trying to execute the job over and over until i
fixed it and ran it manually.
I actually have started to make progress in determining the cause related
to LiveTV dropping. I noticed this sequence appears in journalctl each
time mythfilldatabase finishes execution.
Mar 11 12:01:32 mint-box mythbackend[1767]: mythbackend[1767]: I Scheduler
mythdbcon.cpp:260 (Reconnect) MySQL reconnected successfully
Mar 11 12:01:32 mint-box mythbackend[1767]: mythbackend[1767]: I Scheduler
scheduler.cpp:2309 (HandleReschedule) Reschedule requested for MATCH 0 0 0
- MythFillDatabase
Mar 11 12:01:32 mint-box mythbackend[1767]: mythbackend[1767]: I Scheduler
mythdbcon.cpp:260 (Reconnect) MySQL reconnected successfully
Mar 11 12:01:32 mint-box mythbackend[1767]: mythbackend[1767]: I
MythSocketThread(91) mainserver.cpp:7859 (connectionClosed) Playback
sock(561c6439e2e0) 'mint-box' disconnected
To troubleshoot, I temporarily patched mythbackend to prevent it from
running 'Reschedule requested for MATCH 0 0 0' via an if statement that
skips the rest of the Match sequence if recordid & sourceid are 0 starting
around line 2324 of scheduler.cpp.
With these changes, LiveTV doesn't drop on my frontends when
mythfilldatabase finishes!
Who would be the best person to help me further track down what is going on
here?
Thanks,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200311/af5112a9/attachment.htm>
More information about the mythtv-users
mailing list