aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-09-29 22:36:08 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-09-29 22:36:08 -0400
commitc85e2d09160e46d9bf38b711308708c8d13119d6 (patch)
tree8e22990c20f3551e87d96e15a0b5b05c6586cf38 /doc
parentb8248cf826a69ca43d3fe462b6686407cb859c65 (diff)
fix process and FD leak
Fix process and file descriptor leak that was exposed when git-annex was built with ghc 8.2.1. Apparently ghc has changed its behavior of GC of open file handles that are pipes to running processes. That broke git-annex test on OSX due to running out of FDs. Audited for all uses of Annex.new and made stopCoProcesses be called once it's done with the state. Fixed several places that might have leaked in other situations than running the test suite. This commit was sponsored by Ewen McNeill.
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/git_annex_test_fails.mdwn2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/bugs/git_annex_test_fails.mdwn b/doc/bugs/git_annex_test_fails.mdwn
index 7e0935095..39668b60f 100644
--- a/doc/bugs/git_annex_test_fails.mdwn
+++ b/doc/bugs/git_annex_test_fails.mdwn
@@ -28,3 +28,5 @@ Full log is here: https://gist.github.com/ilovezfs/1ed886b43d534b239be25f4aa8b73
Yes!
[[!meta title="OSX git-annex test fails: Too many open files"]]
+
+> [[fixed|done]] --[[Joey]]