aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-05-22 10:31:35 +0200
committerLoïc Hoguin <[email protected]>2018-05-22 10:31:35 +0200
commitd4ed1acf01eec12d199118af8116397e688af622 (patch)
tree1650da99219bc5e3b05ea5758bd0d19a2c13d8cd
parent704f500203d2c21a9867d9e97f64cab4c78d799f (diff)
downloadci-d4ed1acf01eec12d199118af8116397e688af622.tar.gz
ci-d4ed1acf01eec12d199118af8116397e688af622.tar.bz2
ci-d4ed1acf01eec12d199118af8116397e688af622.zip
Increase nofile limit for all containers
-rw-r--r--ci.d/lxc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ci.d/lxc b/ci.d/lxc
index c0c5ed2..f3b4798 100644
--- a/ci.d/lxc
+++ b/ci.d/lxc
@@ -11,6 +11,7 @@ lxc_create() {
lxc-create -n $NAME -t download -B btrfs -- --dist $1 --release $2 --arch $3
echo "lxc.start.auto = 1" >> /home/lxc/$NAME/config
echo "lxc.environment = HOME=/root" >> /home/lxc/$NAME/config
+ echo "lxc.prlimit.nofile = 64000" >> /home/lxc/$NAME/config
lxc-start -n $NAME
lxc-wait -n $NAME -s RUNNING
}