[mythtv-commits] Ticket #2011: Backend deadlock, multiple delete threads waiting on mutex.

MythTV mythtv at cvs.mythtv.org
Sun Jul 2 17:09:50 UTC 2006


#2011: Backend deadlock, multiple delete threads waiting on mutex.
---------------------+------------------------------------------------------
 Reporter:  stuarta  |        Owner:  danielk
     Type:  defect   |       Status:  closed 
 Priority:  minor    |    Milestone:  0.20   
Component:  mythtv   |      Version:  head   
 Severity:  medium   |   Resolution:  wontfix
---------------------+------------------------------------------------------
Changes (by danielk):

  * resolution:  => wontfix
  * status:  new => closed

Old description:

> The backend deadlock with multiple (33) Delete Threads
> waiting on a mutex.
>
> Full backtrace is attached (it's at the end of the file,
> there's a short backtrace first, then a thread summary)

New description:

 The backend deadlock with multiple (33) Delete Threads
 waiting on a mutex.

 Full backtrace is attached (it's at the end of the file,
 there's a short backtrace first, then a thread summary)

Comment:

 Not a bug.

 These threads are waiting for their turn. Only one delete proceeds at a
 time so we can rate limit deletes. If a large file delete happens due to
 an auto-expire or user request and then you do a lot of channel flipping,
 many small deletes will bunch up waiting for the delete lock. Within a few
 minutes they will all get their turn and execute quickly.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/2011>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list