[mythtv-commits] Ticket #6955: EIT scanner leaks file descriptors

MythTV mythtv at cvs.mythtv.org
Mon Aug 31 05:51:07 UTC 2009


#6955: EIT scanner leaks file descriptors
------------------------------------------+---------------------------------
 Reporter:  Joel <mythtv at ebel.mybox.org>  |       Owner:  stuarta   
     Type:  defect                        |      Status:  new       
 Priority:  minor                         |   Milestone:  unknown   
Component:  MythTV - EIT                  |     Version:  0.21-fixes
 Severity:  medium                        |     Mlocked:  0         
------------------------------------------+---------------------------------
 If I have the EIT scanned enabled, even for only a few channels, it leaks
 file descriptors.  Every 5 minutes, two sockets get opened and never get
 closed until I restart mythbackend.  At that rate, it hits the 1024 limit
 in 42 hours.  I suspect that the two sockets opened correspond to the two
 receivers on the HDHomeRun.  I'm not sure where in the code this is
 happening, but here is an strace of a thread which opens a file descriptor
 and never closes it.

 http://ebel.mybox.org/fdleak.trace

 fd 24 is the one in question.  This thread also appears to communicate
 with the hdhomerun on fd 7.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6955>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list