[mythtv-commits] Ticket #9682: Myth Backend handles loss of NFS mount poorly
MythTV
noreply at mythtv.org
Mon Aug 15 20:36:04 UTC 2011
#9682: Myth Backend handles loss of NFS mount poorly
------------------------------+----------------------------
Reporter: danielk | Owner: danielk
Type: Developer Task | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Trunk Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
------------------------------+----------------------------
Comment (by Github):
Refs #9682. This creates a runnable that updates the free space list on
the master backend.
The problem with the existing code is that if any mount goes dead each
frontend causes one more worker thread to queue up every 15 seconds. If
you have 3 frontends 720 threads are started every hour the mount is down.
This instead uses one runnable to update the total disk space every 15
seconds for use by all the frontends. If no frontend requests an updated
disk space calculation for one minute the runnable shuts down.
Branch: master
Changeset: 394c2e82c8723605d939b02a789f068aa8c62d44
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9682#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list