summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelley Spoon <kelley.spoon@linaro.org>2023-10-25 15:55:02 -0500
committerKelley Spoon <kelley.spoon@linaro.org>2023-10-25 20:58:19 +0000
commitcf6fae5fab8f2d63dbfd1886bc83a46e0cebb9b3 (patch)
treeab617c2b63978de31f880c305a6430e8706fd970
parentf04d58a92a989c7c6e53859fd4271cad0d6554ee (diff)
gerrit: remove limit settings in systemd unit
The settings for the LIMITs in the systemd unit file were unrecognized and causing an error message stating they were being ignored to be logged, thus potentially hiding any real problems with the service. Let's just remove them for now as they were basically experimental. Change-Id: I290c013858a08b87da5f6c279b47853fbdb0264a Signed-off-by: Kelley Spoon <kelley.spoon@linaro.org> Reviewed-on: https://review.linaro.org/c/infrastructure/ansible-playbooks/+/46029
-rwxr-xr-xroles/gerrit/templates/gerrit.service9
1 files changed, 0 insertions, 9 deletions
diff --git a/roles/gerrit/templates/gerrit.service b/roles/gerrit/templates/gerrit.service
index d1918c29..1d2ed5cf 100755
--- a/roles/gerrit/templates/gerrit.service
+++ b/roles/gerrit/templates/gerrit.service
@@ -20,14 +20,5 @@ RestartSec=30s
StartLimitInterval=600s
StartLimitBurst=3
-# default gerrit ulimits from the init script... let's
-# just let the jvm crash itself rather than risk
-# systemd making the wrong choice
-LimitCORE=0
-LimitDATA=unlimited
-LimitFSIZE=unlimited
-LimitRSS=unlimited
-
-
[Install]
WantedBy=multi-user.target