[bitbake-devel] [PATCH] bb/cooker: BBCooker stops notifier at shutdown
Aníbal Limón
anibal.limon at linux.intel.com
Thu Jan 5 23:44:46 UTC 2017
At end of BBCooker needs to release fd's associated with pyinotify
watchers to avoid: Too many open files (EMFILE) error in different
scenarios like several instances of tinfoil.
[YOCTO #10873]
Signed-off-by: Aníbal Limón <anibal.limon at linux.intel.com>
---
lib/bb/cooker.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index 30131fb..182d044 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -1731,6 +1731,8 @@ class BBCooker:
if self.parser:
self.parser.shutdown(clean=not force, force=force)
+ self.notifier.stop()
+ self.confignotifier.stop()
def finishcommand(self):
self.state = state.initial
--
2.1.4
More information about the bitbake-devel
mailing list