Tune PHP again (uncommited changes from long ago)
This commit is contained in:
parent
3719b355f7
commit
e3fffa522a
3 changed files with 14 additions and 1 deletions
|
|
@ -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
5
images/nc/fpmtune.ini
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
pm.max_children=51
|
||||
pm.start_servers=12
|
||||
pm.min_spare_servers=12
|
||||
pm.max_spare_servers=38
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue