当前位置:网站首页>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,问题解决。
边栏推荐
- What is asynchronous operation
- 微信小程序开发
- Local cache
- 小程序纪录
- Apple generated and verified tokens for PHP
- arcgis的基本使用4
- Pat grade a a1013 battle over cities
- 多项式开根
- Ext4 file system opens dir_ After nlink feature, link_ Use link after count exceeds 65000_ Count=1 means the quantity is unknown
- Stm32+mfrc522 completes IC card number reading, password modification, data reading and writing
猜你喜欢
随机推荐
"Could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32"
暑假末尾学习笔记
服务器内存故障预测居然可以这样做!
HBuilderX 运行微信开发者工具 “Fail to open IDE“报错解决
What is the difference between NFT and digital collections?
volatile 靠的是MESI协议解决可见性问题?(下)
[online problem] timeout waiting for connection from pool problem troubleshooting
Summary of common activation functions for deep learning
“No input file specified “问题的处理
Exception handling mechanism II
The essence of attack and defense strategy behind the noun of network security
2022 tea artist (intermediate) special operation certificate examination question bank simulated examination platform operation
什么是异步操作
Selection and practice of distributed tracking system
多层嵌套后的 Fragment 懒加载实现
Hbuilderx runs the wechat developer tool "fail to open ide" to solve the error
838. Heap sorting
JS output diamond on the console
CF1481C Fence Painting
Zxing simplified version, reprinted









