Skip to content

Commit

Permalink
Increase number of child processes for FPM
Browse files Browse the repository at this point in the history
  • Loading branch information
ellite committed Nov 18, 2023
1 parent f9324bf commit e03ebf3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ RUN chown -R www-data:www-data /var/www/html

RUN chmod +x /var/www/html/startup.sh

# SETUP PHP-FPM CONFIG SETTINGS (max_children / max_requests)
RUN echo 'pm.max_children = 15' >> /usr/local/etc/php-fpm.d/zz-docker.conf && \
echo 'pm.max_requests = 500' >> /usr/local/etc/php-fpm.d/zz-docker.conf

# Expose port 80 for Nginx
EXPOSE 80

Expand Down

0 comments on commit e03ebf3

Please sign in to comment.