当前位置:网站首页>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,问题解决。
边栏推荐
- 2022 chemical automation control instrument operation certificate test question simulation test platform operation
- The Child and Binary Tree-多项式开根求逆
- 2B和2C
- 839. Simulation reactor
- 吴恩达机器学习之线性回归
- What are CSDN spaces represented by
- The essence of attack and defense strategy behind the noun of network security
- [use of final keyword]
- HBuilderX 运行微信开发者工具 “Fail to open IDE“报错解决
- 【Mysql】Mysql锁详解(三)
猜你喜欢
el-table实现增加/删除行,某参数跟着变
Redis principle and usage - installation and distributed configuration
Redis principle and use - Basic Features
2022 tea artist (intermediate) special operation certificate examination question bank simulated examination platform operation
Zxing simplified version, reprinted
Windows backs up the database locally by command
【Mysql】redo log,undo log 和binlog详解(四)
Qtcreator reports an error: you need to set an executable in the custom run configuration
Bloom filter
csdn空格用什么表示
随机推荐
The child and binary tree- open root inversion of polynomials
Bloom filter
您的登录IP不在管理员配置的登录掩码范围内
自定义密码输入框,无圆角
arc-gis的基本使用2
Innovus is stuck, prompting x error:
antUI中a-modal 拖拽功能制作
C# Serialport的发送和接收
TabbarController的封装
Use of off heap memory
滑动窗口、双指针、单调队列、单调栈
js在控制台输出菱形
opencv图像处理
Byte buffer stream & character stream explanation
Mysql事务
TableviewCell高度自适应
设置视图动态图片
I'm faded
"Could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32"
csdn空格用什么表示