lanxing 发表于 2018-7-19 22:02:31

lnmp1.4 经常数据库连接失败,重启lnmp 后正常

错误日志显示 WARNING: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 8 total children
ERROR: fork() failed: Cannot allocate memory (12)

lanxing 发表于 2018-7-20 08:21:25

访问网站错误提示

Error establishing a database connection

licess 发表于 2018-7-20 09:45:25

按php-fpm日志这个错误信息看是内存无法分配,也就是内存不够用了

可能内存不够用数据库挂掉了
页: [1]
查看完整版本: lnmp1.4 经常数据库连接失败,重启lnmp 后正常