max_spare_servers到底是个什么意思?
pm.max_children=500
pm.start_servers=280
pm.min_spare_servers=50
pm.max_spare_servers=500 把max_spare_servers设置为200后,服务器挂了一直502
#,保证空闲进程数最大值,如果空闲进程大于此值,此进行清理 。说是这个意思设置了200后关闭,服务器还出问题。。
报错如下
● php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor pres et: disabled)
Active: failed (Result: exit-code) since Tue 2019-03-12 10:42:56 CST; 27s ago
Process: 15964 ExecStart=/usr/sbin/php-fpm --nodaemonize (code=exited, status= 78)
Main PID: 15964 (code=exited, status=78)
Mar 12 10:42:56 iZbp16mw7ytq0ocsm6oot8Z systemd[1]: Starting The PHP FastCGI ...
Mar 12 10:42:56 iZbp16mw7ytq0ocsm6oot8Z php-fpm[15964]: [12-Mar-2019 10:42:56...
Mar 12 10:42:56 iZbp16mw7ytq0ocsm6oot8Z php-fpm[15964]: [12-Mar-2019 10:42:56...
Mar 12 10:42:56 iZbp16mw7ytq0ocsm6oot8Z php-fpm[15964]: [12-Mar-2019 10:42:56...
Mar 12 10:42:56 iZbp16mw7ytq0ocsm6oot8Z systemd[1]: php-fpm.service: main pro...
Mar 12 10:42:56 iZbp16mw7ytq0ocsm6oot8Z systemd[1]: Failed to start The PHP F...
Mar 12 10:42:56 iZbp16mw7ytq0ocsm6oot8Z systemd[1]: Unit php-fpm.service ente...
Mar 12 10:42:56 iZbp16mw7ytq0ocsm6oot8Z systemd[1]: php-fpm.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@iZbp16mw7ytq0ocsm6oot8Z etc]# cd /php-fpm.d
-bash: cd: /php-fpm.d: No such file or directory