Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#12042 closed Bug Report - General (fixed)

mythmetadatalookup run by housekeeping starts before serverpool begins listening

Reported by: Bill Meek <keemllib@…> Owned by: Raymond Wagner
Priority: minor Milestone: 0.27.1
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

In the case of backends that spend most of their life off, (shutdown when idle) housekeeping runs RecordedArtworkUpdate? when the backend is started and fails.

Workaround, create a mythmetadatalookup file with:

sleep 10
/usr/local/bin/mythmetadatalookup.real $@
}
after renaming the binary. This works.

Attachments (3)

mythbackend.20140131174318.24374.log (48.4 KB) - added by Bill Meek <keemllib@…> 6 years ago.
mythmetadatalookup.20140131174320.24403.log (207.1 KB) - added by Bill Meek <keemllib@…> 6 years ago.
version.txt (845 bytes) - added by Bill Meek <keemllib@…> 6 years ago.
v0.28-pre-777-g68c0186

Download all attachments as: .zip

Change History (7)

Changed 6 years ago by Bill Meek <keemllib@…>

Changed 6 years ago by Bill Meek <keemllib@…>

Changed 6 years ago by Bill Meek <keemllib@…>

Attachment: version.txt added

v0.28-pre-777-g68c0186

comment:1 Changed 6 years ago by Raymond Wagner

Owner: set to Raymond Wagner
Status: newaccepted

comment:2 Changed 6 years ago by Raymond Wagner <rwagner@…>

Resolution: fixed
Status: acceptedclosed

In 3d14864fe8ef06147ec8cc0d6af39d89fb29b2f9/mythtv:

Add housekeeper startup delay.

This delays creation of the first HouseKeepingThread? until the first
cycle, which is one minute after creation. This will allow time for
other potentially necessary subsystems to come up on init, should the
HouseKeeperTasks? need them. Tasks tagged as kHKRunImmediateOnStartup
will still be run in-thread immediately as the housekeeper is started.

Fixes #12042

comment:3 Changed 6 years ago by Raymond Wagner <rwagner@…>

In 75e71d3dad4ac873531005ea27ae9529c4494459/mythtv:

Add housekeeper startup delay.

This delays creation of the first HouseKeepingThread? until the first
cycle, which is one minute after creation. This will allow time for
other potentially necessary subsystems to come up on init, should the
HouseKeeperTasks? need them. Tasks tagged as kHKRunImmediateOnStartup
will still be run in-thread immediately as the housekeeper is started.

Fixes #12042
(cherry picked from commit 3d14864fe8ef06147ec8cc0d6af39d89fb29b2f9)

comment:4 Changed 6 years ago by Raymond Wagner

Milestone: unknown0.27.1
Note: See TracTickets for help on using tickets.