Bug 11704

Summary: Add other resource monitoring options to conf/local.conf STOPTASKS/ABORT
Product: [Build System, Metadata & Runtime] BitBake Reporter: brian avery <brian.avery>
Component: bitbakeAssignee: Randy MacLeod <randy.macleod>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Medium+ CC: Aryaman.Gupta, markus.lehtonen, poky.bs.watcher, poky.watcher, randy.macleod
Version: 2.4   
Target Milestone: 5.99   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description brian avery 2017-06-22 15:04:57 UTC
Right now, we monitor disk space for a variety of directories like DL_DIR/SSTATE_DIR/TMP. Sometimes, builds fail due to other resource constraints (see Bug 11681 for example). Since the disk space check is a poll, it should be straightforward to extend this to other resources like
1) # processes
2) # open files? (not sure if this is easy or not w/o googling) 
3) memory/swap
4) others? 
Could be tied to Bug 11361 since Markus wants to add this information to buildstats.
Comment 1 brian avery 2017-06-22 15:06:24 UTC
adding markus and randy