Php-fpm I use dynamic configuration, the process reaches the maximum, it has not been reduced, see the following configuration?

[global]
pid = /usr/local/php/var/run/php-fpm.pid
error_log = /usr/local/php/var/log/php-fpm.log
log_level = notice

[www]
listen = /tmp/php-cgi.sock
listen.backlog = -1
listen.allowed_clients = 127.0.0.1
listen.owner = www
listen.group = www
listen.mode = 0666
user = www
group = www
pm = dynamic
pm.max_children = 70
pm.start_servers = 20
pm.min_spare_servers = 20
pm.max_spare_servers = 70
pm.max_requests = 1000
request_terminate_timeout = 100
request_slowlog_timeout = 0
slowlog = var/log/slow.log
Mar.01,2021
  • Php-fpm profile issu

    my php-fpm.conf configuration file is as follows: include *conf php.fpm.dconf I set an array variable in m.beike.conf ;DB env[DB_HOST] = 127.0.0.1 env[DB_NAME] = test .... you can t get it through $_ server [DB _ HOST] in the php code. ...

    Mar.18,2021
  • Php-fpm error: No pool defined. At least one pool section

    operating environment: MacOS 10.13.6 launch php-fpm Times error content: [18-Aug-2018 22:43:11] ERROR: No pool defined. at least one pool section must be specified in config file [18-Aug-2018 22:43:11] ERROR: failed to post process the configuration [...

    Apr.12,2021
  • How does nginx+php print the error log of php?

    I modified the error_log path in php.ini. Restart php-fpm to check that phpinfo () is indeed modified successfully. It is true that the browser does not display an error when there is an error in php, but there is no error message in the log file I set ...

    May.07,2021
Menu