aboutsummaryrefslogtreecommitdiffstats
path: root/configserver/src/main/resources/configserver-app/services.xml
diff options
context:
space:
mode:
Diffstat (limited to 'configserver/src/main/resources/configserver-app/services.xml')
-rw-r--r--configserver/src/main/resources/configserver-app/services.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/configserver/src/main/resources/configserver-app/services.xml b/configserver/src/main/resources/configserver-app/services.xml
index eacb3d30568..3d7f52dc343 100644
--- a/configserver/src/main/resources/configserver-app/services.xml
+++ b/configserver/src/main/resources/configserver-app/services.xml
@@ -145,7 +145,8 @@
<server port="19071" id="configserver">
<config name="jdisc.http.connector">
<!-- Limit max request content size accepted -->
- <maxContentSize>2000000000</maxContentSize> <!-- ~2GB -->
+ <maxContentSize>0</maxContentSize> <!-- 0 => scale based on max heap size -->
+ <maxContentSizeErrorMessageTemplate>Application package is too large (%1$d > %2$d bytes). Try increasing heap as described in https://docs.vespa.ai/en/performance/container-tuning.html#config-server-and-config-proxy.</maxContentSizeErrorMessageTemplate>
</config>
</server>
<preprocess:include file='http-server.xml' required='false' />