Git Product home page Git Product logo

ob_php-fpm's Issues

unknown directive "max_fails=3"

Hi, using the wordpress.yml and changing the env file to mine, nginx container trow this error:
unknown directive "max_fails=3" in /etc/nginx/upstream.d/php-fpm.conf

my ENV
APP_DOCROOT=/usr/share/nginx/html
PHP_FPM_PORT=9000
PHP_START_SERVERS=16
PHP_MIN_SPARE_SERVERS=8
PHP_MAX_SPARE_SERVERS=16
PHP_MEMORY_LIMIT=256
PHP_OPCACHE_MEMORY_CONSUMPTION=96
PHP_MAX_CHILDREN=16
NGINX_DOCROOT=/usr/share/nginx/html
NGINX_SERVER_NAME=testserver
NGINX_CONFIG=php
NGINX_DEV_INSTALL=true

my YML
version: '3.1'
services:
nginx:
image: openbridge/nginx
container_name: nginx
ports:
- 80:80
- 443:443
tty: true
tmpfs:
- /var/cache
volumes:
- db_data:/usr/share/nginx/html
ulimits:
nproc: 65535
nofile:
soft: 49999
hard: 99999
env_file:
- ./env/stage.env
mariadb:
image: mariadb:latest
container_name: mariadb
environment:
MYSQL_ROOT_PASSWORD: Pettinell@2009
MYSQL_DATABASE: mapsgra
MYSQL_USER: root
MYSQL_PASSWORD: Pettinell@2009
tty: true
volumes:
- db_data:/var/lib/mysql
ulimits:
nproc: 65535
nofile:
soft: 49999
hard: 99999
php-fpm:
image: openbridge/ob_php-fpm
container_name: php-fpm
restart: always
depends_on:
- mariadb
env_file:
- ./env/stage.env
ports:
- 9001:9000
tmpfs:
- /var/cache
tty: true
volumes:
- db_data:/usr/share/nginx/html
ulimits:
nproc: 65535
nofile:
soft: 49999
hard: 99999
redis:
image: redis
container_name: redis
restart: always
volumes:
db_data:

Typo and need more variables

Typo ob_php-fpm/docker-entrypoint.sh

  • 71 echo 'max_executionn_time=300'
  • 71 echo 'max_execution_time=300'

Need more variables in .env file.
71 echo 'max_execution_time=300'
82 echo 'upload_max_filesize=50M'
83 echo 'post_max_size=50M'

multisite support

I'm using this php-fpm image whit nginx container and it is really nice. Is it possible to run this image whit multiple APP_DOCROOT variables? I wold like to run more than 20 sites, but I wold like to use only one php-fpm container. I do not like the idea that I need to run 20+ fpm containers.

Is it possible to add multisite support to this?

A lot of zombie processes created by monit

1399258 root      20   0  173.5m  33.5m   0.0   0.0   0:00.24 S      `- php-fpm: master process (/etc/php7/php-fpm.conf)
1400768 root      20   0    4.9m   1.5m   0.0   0.0   0:01.17 S          `- monit -c /etc/monitrc
3241229 root      20   0    0.0m   0.0m   0.0   0.0   0:00.01 Z              `- [bash] <defunct>

Seeing a lot of zombie processes being created by your shipped monit configuration.
I don't know how to debug this. Could you maybe give me some hints?

PHP 8

Hi, any plans to upgrade to PHP 8?

ALERT: oops, unknown child

Hi,

I'm seeing a few of these errors in the logs, haven't been able to tie them to anything specific. Just wondering if it rings a bell and what might be wrong. Running WP. Thanks!

ALERT: oops, unknown child (31184) exited with code 1. Please open a bug report (https://bugs.php.net).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.