Tune PHP again (uncommited changes from long ago)

This commit is contained in:
Oliver Hattshire 2025-06-16 22:02:29 -04:00
parent 3719b355f7
commit e3fffa522a
3 changed files with 14 additions and 1 deletions

View file

@ -10,6 +10,9 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
## Increase memory limits
COPY upload.ini /usr/local/etc/php/conf.d/upload.ini
## Tune PHP-FPM Children
COPY fpmtune.ini /usr/local/etc/php/conf.d/fpmtune.ini
# Remove residual gcc
RUN apt remove gcc -y && apt autoremove -y \
&& rm -rf /var/lib/apt/lists/*

5
images/nc/fpmtune.ini Normal file
View file

@ -0,0 +1,5 @@
pm.max_children=51
pm.start_servers=12
pm.min_spare_servers=12
pm.max_spare_servers=38