summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndre Przywara <[email protected]>2022-01-11 15:34:50 +0000
committerSimon Glass <[email protected]>2022-01-13 09:13:41 -0700
commit5ecdd529ae38fecd35bfc41869058802c804a01e (patch)
treefa7ab13cd84c2d5c482c097ecbb9b480a91457f5 /include/linux
parent880dbc5f808b65f62b47c78939e12d32c1701ed6 (diff)
genboardscfg: limit to 240 jobs
When genboardscfg.py is run on machines with 255 or more cores, the process will consume more than 1024 file descriptors, which is a common standard ulimit for user processes. As a consequence it will fail with a lenghty Python trace, with the almost hidden message: OSError: [Errno 24] Too many open files It's somewhat questionable whether that level of parallelity is actually useful for genboardscfg, so we limit the *default* number of jobs to the safe number of 240, to avoid the problem. If a user persists, she can still force a higher number via the -j parameter - hopefully having raised the ulimit accordingly beforehand. Signed-off-by: Andre Przywara <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions