chiark / gitweb /
build: set open file limit based on how many apps are being processed
authorHans-Christoph Steiner <hans@eds.org>
Tue, 28 Nov 2017 09:39:35 +0000 (10:39 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Wed, 29 Nov 2017 20:06:02 +0000 (21:06 +0100)
commit2b6825ccfdfd26828883d8bb83055fe376223e3b
tree72357536ab2bc9f796d2000bb6a2d0e7678c84ed
parent19af92c9829223be4f284ef3ba9afdb8a6b09f77
build: set open file limit based on how many apps are being processed

When running `fdroid build --all` on a buildserver with thousands of apps,
it was frequently hitting the open file limit.  This increases the open
file limit based on how many apps are being process.  It is doubled to
provide a margin of safety.

There are probably open file leaks which ideally would be fixed, but this
is also useful to make things more resilient to all the random stuff apps
include in their build systems.
fdroidserver/build.py
jenkins-build-all