Opened 16 years ago
Closed 16 years ago
#6955 closed defect (fixed)
EIT scanner leaks file descriptors
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | 0.22 |
Component: | MythTV - EIT | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
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.
Change History (6)
comment:1 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 16 years ago
Milestone: | unknown → 0.22 |
---|---|
Version: | 0.21-fixes → head |
comment:3 by , 16 years ago
Sadly I'm not in a good position to be testing with trunk at the moment. I'll try to set up trunk in a VM and use my hdhomerun, but it won't completely duplicate my primary setup which also includes two pchdtv-5500's.
comment:4 by , 16 years ago
comment:5 by , 16 years ago
Status: | assigned → infoneeded |
---|
Joel can you please provide a "mythbackend -v socket,network,extra" log.
This may be related to #6969.
Please test with trunk as the needed debugging is not present in 0.21-fixes.