mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
apache - adjust MaxRequestWorkers and ServerLimit
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
cf54794be2
commit
36a67eb749
3 changed files with 8 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ RUN set -ex; \
|
|||
\
|
||||
grep -q '^pm = dynamic' /usr/local/etc/php-fpm.d/www.conf; \
|
||||
sed -i 's/^pm = dynamic/pm = ondemand/' /usr/local/etc/php-fpm.d/www.conf; \
|
||||
# Sync this with max db connections
|
||||
# Sync this with max db connections and MaxRequestWorkers
|
||||
# We don't actually expect so many children but don't want to limit it artificially because people will report issues otherwise.
|
||||
# Also children will usually be terminated again after the process is done due to the ondemand setting
|
||||
sed -i 's/^pm.max_children =.*/pm.max_children = 5000/' /usr/local/etc/php-fpm.d/www.conf; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue