宝塔搭建的网站,显示 502 bad gatway 错误 。进入 软件商店->已安装 ,查看 PHP 运行日志显示 WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 4 idle, and 19 total children
找到PEM配置文件,将 max_spare_servers 的值改大。注意,不能超过 pm.max_children 的值,所以,根据实际情况将两者分别改大即可。