Commit 72fc5d9a authored by Jelmer Vernooij's avatar Jelmer Vernooij Committed by Holger Levsen
Browse files

Use ulimit to restrict jobs to 20Gb of virtual memory.



Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent b4080adf
...@@ -10,6 +10,9 @@ export TMPDIR=/srv/janitor/tmp ...@@ -10,6 +10,9 @@ export TMPDIR=/srv/janitor/tmp
export PATH=$WORKSPACE/breezy-debian/scripts:$WORKSPACE/debmutate/scripts:$WORKSPACE/lintian-brush/scripts:$PATH export PATH=$WORKSPACE/breezy-debian/scripts:$WORKSPACE/debmutate/scripts:$WORKSPACE/lintian-brush/scripts:$PATH
# Limit memory to 20GB
ulimit -v 20000000
$WORKSPACE/pull_worker.sh \ $WORKSPACE/pull_worker.sh \
--base-url=https://janitor.debian.net/api/ \ --base-url=https://janitor.debian.net/api/ \
--credentials=/srv/janitor/janitor.creds.json --credentials=/srv/janitor/janitor.creds.json
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment