From 0ca81a61126d87716a5d903fca4ced833e5a511d Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sun, 8 Mar 2026 21:37:39 +0000 Subject: [PATCH] fix: mount Apache MPM config under nextcloud.extraVolumes (not top-level) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Nextcloud Helm chart expects extraVolumes/extraVolumeMounts nested under the nextcloud: key. Also mount to mods-available/ (the actual file) not mods-enabled/ (which is a symlink). Verified: MaxRequestWorkers 150→25, workers dropped from 49 to 6. --- stacks/nextcloud/chart_values.yaml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/stacks/nextcloud/chart_values.yaml b/stacks/nextcloud/chart_values.yaml index d39fda29..0c6c78b2 100644 --- a/stacks/nextcloud/chart_values.yaml +++ b/stacks/nextcloud/chart_values.yaml @@ -31,6 +31,14 @@ nextcloud: max_execution_time = 300 max_input_time = 300 default_socket_timeout = 300 + extraVolumes: + - name: apache-tuning + configMap: + name: nextcloud-apache-tuning + extraVolumeMounts: + - name: apache-tuning + mountPath: /etc/apache2/mods-available/mpm_prefork.conf + subPath: mpm_prefork.conf # internalDatabase: # enabled: false @@ -96,14 +104,3 @@ resources: cronjob: enabled: true - -# Mount custom Apache MPM config to limit worker count -extraVolumes: - - name: apache-tuning - configMap: - name: nextcloud-apache-tuning - -extraVolumeMounts: - - name: apache-tuning - mountPath: /etc/apache2/mods-enabled/mpm_prefork.conf - subPath: mpm_prefork.conf