VPS侦探论坛

 找回密码
 注册
查看: 2724|回复: 2

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

[复制链接]
发表于 2018-7-19 22:02:31 | 显示全部楼层 |阅读模式

错误日志显示[19-Jul-2018 12:51:53] WARNING: [pool www] 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
[19-Jul-2018 12:51:53] ERROR: fork() failed: Cannot allocate memory (12)
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2018-7-20 08:21:25 | 显示全部楼层

访问网站错误提示



Error establishing a database connection
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2018-7-20 09:45:25 | 显示全部楼层

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

可能内存不够用数据库挂掉了
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-23 21:30 , Processed in 0.025776 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表