[gnome-continuous-yocto/gnomeostree-3.28-rocko: 3916/8267] bitbake: bb/cooker: BBCooker stops notifier at shutdown
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 3916/8267] bitbake: bb/cooker: BBCooker stops notifier at shutdown
- Date: Sun, 17 Dec 2017 01:18:16 +0000 (UTC)
commit e016eb10b075e280b4e78a04e47b59a173386421
Author: Aníbal Limón <anibal limon linux intel com>
Date: Thu Jan 5 17:44:46 2017 -0600
bitbake: bb/cooker: BBCooker stops notifier at shutdown
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]
(Bitbake rev: ae6045b84978940c365c95c33d6996359c3e299d)
Signed-off-by: Aníbal Limón <anibal limon linux intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
bitbake/lib/bb/cooker.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 30131fb..182d044 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]