[英]Laravel queue worker and pm.max_children
After increasing number of queue workers via Supervisor and php artisan queue:work
, sometimes I get:通过 Supervisor 和php artisan queue:work
增加队列工作人员的数量后,有时我会得到:
WARNING: [pool www] server reached pm.max_children setting (10), consider raising it
Does anyone know if php artisan queue:work
caused the warning above?有谁知道php artisan queue:work
是否导致上述警告?
You can change the value of max_children
from here:您可以从这里更改max_children
的值:
/etc/php/8.0/fpm/pool.d/www.conf
Please note the PHP version and OS and change the path to match yours.请注意 PHP 版本和操作系统,并更改路径以匹配您的。
But when you say sometimes , it sounds you have slow PHP scripts.但是当你说有时,听起来你的 PHP 脚本很慢。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.