[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] Use ulimit to restrict jobs to 20Gb of virtual memory.

Holger Levsen (@holger) gitlab at salsa.debian.org
Tue Jun 22 00:33:36 BST 2021



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
72fc5d9a by Jelmer Vernooij at 2021-06-22T01:33:25+02:00
Use ulimit to restrict jobs to 20Gb of virtual memory.

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/janitor_worker.sh


Changes:

=====================================
bin/janitor_worker.sh
=====================================
@@ -10,6 +10,9 @@ export TMPDIR=/srv/janitor/tmp
 
 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 \
     --base-url=https://janitor.debian.net/api/ \
     --credentials=/srv/janitor/janitor.creds.json



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/72fc5d9a220b47f1a0cd07dfb60d24d6895bd283

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/72fc5d9a220b47f1a0cd07dfb60d24d6895bd283
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20210621/57d04291/attachment.htm>


More information about the Qa-jenkins-scm mailing list