无法在wordpress docker容器中更改pm.max_children

问题描述

我正在使用https://hub.docker.com/layers/wordpress/library/wordpress/5.5.1-php7.4-fpm/images/sha256-71351cbdf76810e8ed2e76f3b1263b6996833c4e3a014d7ffe7eeaf06f81e100?context=explore,并且不断得到:

server reached pm.max_children setting (5),consider raising it

我尝试设置:

pm = dynamic  
pm.max_children = 25  
pm.start_servers = 10  
pm.min_spare_servers = 5  
pm.max_spare_servers = 20  
pm.max_requests = 498

在.user.ini文件和我的php.ini文件中。这两个文件都保存在卷中,因此重新启动容器时不会丢失更改。

我的更改未显示在phpinfo();的输出中,但我不知道为什么。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...