[mythtv-commits] Ticket #9562: NFS disk usage display can hang frontend

MythTV noreply at mythtv.org
Fri Sep 9 04:09:16 UTC 2011


#9562: NFS disk usage display can hang frontend
----------------------------------------+----------------------------
 Reporter:  ajlill@…                    |          Owner:  danielk
     Type:  Bug Report                  |         Status:  closed
 Priority:  minor                       |      Milestone:  0.25
Component:  MythTV - General            |        Version:  0.24-fixes
 Severity:  medium                      |     Resolution:  Fixed
 Keywords:                              |  Ticket locked:  0
----------------------------------------+----------------------------
Changes (by wagnerrp):

 * status:  assigned => closed
 * resolution:   => Fixed


Comment:

 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/9562#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list