diff --git a/server/docker/common-services.yml b/server/docker/common-services.yml index 69cd94e3..ab5eb51d 100644 --- a/server/docker/common-services.yml +++ b/server/docker/common-services.yml @@ -15,7 +15,7 @@ services: - ./../app/:/etc/extender/apps/:ro - ./../configs:/etc/defold/extender:ro - ${DYNAMO_HOME:-./../app/dummy}:/dynamo_home - entrypoint: ["java","-Xmx4g","-XX:MaxDirectMemorySize=2g","-jar","/app/extender.jar"] + entrypoint: ["java","-Xmx4g","-XX:MaxDirectMemorySize=2g","-Dorg.eclipse.jetty.server.Request.maxFormKeys=1500","-jar","/app/extender.jar"] environment: - ${DYNAMO_HOME:+DYNAMO_HOME=/dynamo_home} - DM_DEBUG_COMMANDS diff --git a/server/scripts/standalone/service-standalone.sh b/server/scripts/standalone/service-standalone.sh index defbba2e..b32fdc53 100755 --- a/server/scripts/standalone/service-standalone.sh +++ b/server/scripts/standalone/service-standalone.sh @@ -43,8 +43,8 @@ start_service() { fi fi - echo "Running: java -Xmx4g -XX:MaxDirectMemorySize=2g -jar ${PATH_TO_JAR} --extender.sdk.location=${EXTENDER_SDK_LOCATION} --spring.config.location=classpath:./,file:${SPRING_PROFILES_LOCATION}/ --spring.profiles.active=${PROFILE} >> ${STDOUT_LOG} 2>> ${ERROR_LOG} < /dev/null &" - java -Xmx4g -XX:MaxDirectMemorySize=2g -jar ${PATH_TO_JAR} --extender.sdk.location="${EXTENDER_SDK_LOCATION}" --spring.config.location=classpath:./,file:${SPRING_PROFILES_LOCATION}/ --spring.profiles.active=${PROFILE} >> ${STDOUT_LOG} 2>> ${ERROR_LOG} < /dev/null & + echo "Running: java -Xmx4g -XX:MaxDirectMemorySize=2g -Dorg.eclipse.jetty.server.Request.maxFormKeys=1500 -jar ${PATH_TO_JAR} --extender.sdk.location=${EXTENDER_SDK_LOCATION} --spring.config.location=classpath:./,file:${SPRING_PROFILES_LOCATION}/ --spring.profiles.active=${PROFILE} >> ${STDOUT_LOG} 2>> ${ERROR_LOG} < /dev/null &" + java -Xmx4g -XX:MaxDirectMemorySize=2g -Dorg.eclipse.jetty.server.Request.maxFormKeys=1500 -jar ${PATH_TO_JAR} --extender.sdk.location="${EXTENDER_SDK_LOCATION}" --spring.config.location=classpath:./,file:${SPRING_PROFILES_LOCATION}/ --spring.profiles.active=${PROFILE} >> ${STDOUT_LOG} 2>> ${ERROR_LOG} < /dev/null & echo $! > ${PID_PATH_NAME}