当前位置:网站首页>WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
2022-07-26 09:23:00 【为天空着色】
服务器环境nginx+php5.7+mysql5.5
程序莫名其妙502查看nginx日志发现报错:connect() failed (111: Connection refused) while connecting to upstream
nginx运行恒昌,重启nginx错误依然没解决,
网上查找说这个错误的原因,一般情况下upstream都是PHP 造成的,
查看php-fpm.log发现警告:
WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
意思是php-fpm并发进程满了,修改php-fpm.conf的配置信息
pm.max_children = 30 //最大子进程 (默认是5个)
pm.start_servers = 10 //php-fpm启动起始进程数
pm.min_spare_servers = 10 //php-fpm的最小空闲进程数
pm.max_spare_servers = 24 //php-fpm的最大空闲进程数
pm.max_requests = 500 //所有子进程重启时间
然后重启 php,问题解决。
边栏推荐
- Personality test system V1.0
- 暑假末尾学习笔记
- Unity topdown character movement control
- CF1481C Fence Painting
- js中树与数组的相互转化(树的子节点若为空隐藏children字段)
- NTT (fast number theory transformation) polynomial inverse 1500 word analysis
- 【Mysql】redo log,undo log 和binlog详解(四)
- 多层嵌套后的 Fragment 懒加载实现
- arc-gis基础操作3
- Cat installation and use
猜你喜欢

多项式开根

【Mysql】redo log,undo log 和binlog详解(四)

Server memory failure prediction can actually do this!

ZXing简化版,转载

Under a directory of ext3 file system, subfolders cannot be created, but files can be created

您的登录IP不在管理员配置的登录掩码范围内

Polynomial open root

Does volatile rely on the MESI protocol to solve the visibility problem? (next)

Canal 的学习笔记

【Mysql】认识Mysql重要架构(一)
随机推荐
Tornado multi process service
CF1481C Fence Painting
js中树与数组的相互转化(树的子节点若为空隐藏children字段)
服务器内存故障预测居然可以这样做!
838. 堆排序
839. Simulation reactor
使用openLayer画箭头
Pat grade a a1013 battle over cities
微信小程序学习笔记2
JVM command induction
对象型的集合按某个属性的值进行去重
2022 tea artist (intermediate) special operation certificate examination question bank simulated examination platform operation
Codeworks DP collection
您的登录IP不在管理员配置的登录掩码范围内
【Mysql】redo log,undo log 和binlog详解(四)
PHP和MySQL获取week值不一致的处理
QT | about how to use EventFilter
2B和2C
Order based evaluation index (especially for recommendation system and multi label learning)
2022 Shanghai safety officer C certificate examination questions and mock examination