aboutsummaryrefslogtreecommitdiff
path: root/tcwg-buildfarm-master-hetzner.yaml
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2015-08-19 14:00:09 +0200
committerChristophe Lyon <christophe.lyon@linaro.org>2015-08-19 14:00:09 +0200
commit3c9887d6057276a7e94ea681d724cabe69a38162 (patch)
treefb777e18888fa8b674f0bb70203a141b23f9c1c1 /tcwg-buildfarm-master-hetzner.yaml
parentbad90f30e45efeaae6e769698dec8926717de96d (diff)
tcwg-buildfarm-master-hetzner: try to ulimit to 10GB of virtual memory, to see if it help asan tests.
Change-Id: I12319b495cd2bcfecb2f2225de43433e78dd38ea
Diffstat (limited to 'tcwg-buildfarm-master-hetzner.yaml')
-rw-r--r--tcwg-buildfarm-master-hetzner.yaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/tcwg-buildfarm-master-hetzner.yaml b/tcwg-buildfarm-master-hetzner.yaml
index adbd31a5ef..599c42c85e 100644
--- a/tcwg-buildfarm-master-hetzner.yaml
+++ b/tcwg-buildfarm-master-hetzner.yaml
@@ -158,9 +158,10 @@
# This limit is per-process, so, effectively, they have 2-4GB.
session_ram="$(free | grep "Mem:" | sed -e "s/Mem: *\([0-9]*\).*/\1/")"
session_ram="$(($session_ram / 8))"
- ulimit -u 5000
- ulimit -d $session_ram
- ulimit -v $session_ram
+ #ulimit -u 5000
+ #ulimit -d $session_ram
+ # Try to limit to 10GB of virtual memory
+ ulimit -v 10485760
session_id=$(schroot -b -c chroot:$schroot_image --preserve-environment)
BUILD_SHELL="schroot -r -c session:$session_id --preserve-environment -- bash"