Closed wfvining closed 7 years ago
In the event of errors, there may (conceivably) also have been some leaks via MarFS data_close() and marfs_flush(), which should be addressed by recent as-yet-uncommitted patches.
On Apr 19, 2017, at 8:53 AM, Will Vining notifications@github.com wrote:
There is a file descriptor leak in ne_close() pointed out by Dave B.
The bug was introduced here d2e2175. It effects reads and rebuilds only, writes are safe from the leak.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Leak resolved. Watching the number of open files during a single-threaded rebuild shows that there are never more than 12 open throughout the rebuild.
There is a file descriptor leak in
ne_close()
pointed out by Dave B.The bug was introduced here d2e2175506ece7c06c92a4db0328e7b4bdf173f8. It effects reads and rebuilds only, writes are safe from the leak.