[Git][qa/jenkins.debian.net][master] 2 commits: set OOMPolicy=continue and OOMScoreAdjust=-1000 for both the jenkins and the...

Holger Levsen (@holger) gitlab at salsa.debian.org
Sun Mar 3 10:51:00 GMT 2024



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


Commits:
1c92680f by Holger Levsen at 2024-03-03T11:48:58+01:00
set OOMPolicy=continue and OOMScoreAdjust=-1000 for both the jenkins and the reproducible_build service

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

- - - - -
0f283b17 by Holger Levsen at 2024-03-03T11:50:50+01:00
allow 10 times as many open files for the jenkins service

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

- - - - -


2 changed files:

- hosts/jenkins/etc/systemd/system/jenkins.service.d/override.conf
- hosts/jenkins/etc/systemd/system/reproducible_build at .service


Changes:

=====================================
hosts/jenkins/etc/systemd/system/jenkins.service.d/override.conf
=====================================
@@ -2,9 +2,10 @@
 # disable git plugin's token requirement
 # https://plugins.jenkins.io/git/#plugin-content-push-notification-from-repository
 Environment="JAVA_OPTS=-Djava.awt.headless=true -Xms12G -Xmx20G -XX:+UseG1GC -Dhudson.DNSMultiCast.disabled=true -Dhudson.plugins.git.GitStatus.NOTIFY_COMMIT_ACCESS_CONTROL=disabled-for-polling"
-LimitNOFILE=131071
+LimitNOFILE=1310720
 UMask=022
-
+OOMPolicy=continue
+OOMScoreAdjust=-1000
 
 #
 # !! ATTENTION !!


=====================================
hosts/jenkins/etc/systemd/system/reproducible_build at .service
=====================================
@@ -12,6 +12,8 @@ User=jenkins
 Group=jenkins
 ExecStart=/srv/jenkins/bin/reproducible_build_service.sh %I
 SendSIGHUP=yes
+OOMPolicy=continue
+OOMScoreAdjust=-1000
 
 [Install]
 WantedBy=multi-user.target



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/57b21155e2431378508adb6f5fbdd8b85c02d4a1...0f283b17a00039628e6dd92227de1054dbdb6f89

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/57b21155e2431378508adb6f5fbdd8b85c02d4a1...0f283b17a00039628e6dd92227de1054dbdb6f89
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/20240303/29f36239/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list