summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins/etc/default
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-07-19 11:35:31 +0200
committerHolger Levsen <holger@layer-acht.org>2016-07-19 11:35:31 +0200
commit1d361f093a56f3f32a7e96c4cc6734cd373ae92b (patch)
treed44fea3e168505fd7db08720fc400ea78e3d2932 /hosts/jenkins/etc/default
parent183b4cb633c268a9504951d3a2c976162070ea1f (diff)
downloadjenkins.debian.net-1d361f093a56f3f32a7e96c4cc6734cd373ae92b.tar.xz
apply our configuration changes again
Diffstat (limited to 'hosts/jenkins/etc/default')
-rw-r--r--hosts/jenkins/etc/default/jenkins6
1 files changed, 4 insertions, 2 deletions
diff --git a/hosts/jenkins/etc/default/jenkins b/hosts/jenkins/etc/default/jenkins
index a7bb7eb2..ecf2a203 100644
--- a/hosts/jenkins/etc/default/jenkins
+++ b/hosts/jenkins/etc/default/jenkins
@@ -7,9 +7,10 @@ NAME=jenkins
JAVA=/usr/bin/java
# arguments to pass to java
-JAVA_ARGS="-Djava.awt.headless=true" # Allow graphs etc. to work even when an X server is present
+#JAVA_ARGS="-Djava.awt.headless=true" # Allow graphs etc. to work even when an X server is present
#JAVA_ARGS="-Xmx256m"
#JAVA_ARGS="-Djava.net.preferIPv4Stack=true" # make jenkins listen on IPv4 address
+JAVA_ARGS="-Djava.awt.headless=true -Xmx3072m -XX:MaxPermSize=384m"
PIDFILE=/var/run/$NAME/$NAME.pid
@@ -37,7 +38,7 @@ JENKINS_LOG=/var/log/$NAME/$NAME.log
# this is on by default because http://github.com/jenkinsci/jenkins/commit/2fb288474e980d0e7ff9c4a3b768874835a3e92e
# reported that Ubuntu's PAM configuration doesn't include pam_limits.so, and as a result the # of file
# descriptors are forced to 1024 regardless of /etc/security/limits.conf
-MAXOPENFILES=8192
+MAXOPENFILES=32768
# set the umask to control permission bits of files that Jenkins creates.
# 027 makes files read-only for group and inaccessible for others, which some security sensitive users
@@ -52,6 +53,7 @@ MAXOPENFILES=8192
# by default umask comes from pam_umask(8) and /etc/login.defs
# UMASK=027
+UMASK=022
# port for HTTP connector (default 8080; disable with -1)
HTTP_PORT=8080