简体   繁体   中英

What could suddenly turn off PHP-FPM?

I have a website with NGINX & PHP-FPM. A few hours ago I checked my website and NGINX throw an error. My website was down.

I check the status pages of NGINX and the fpm pool, and the fpm status page did not load. Then I checked the status of PHP-FPM with "service php5-fpm status" and it showed that it wasn't running. So I restarted it.

Right now everything is fine, and commonly nothing wrong happens, but now I want to know what could possibly turn off php-fpm? Could it be a script? A memory problem? Is it a common practice to have a script controlling that PHP-FPM is running?

Thanks you!

谁知道,这就是为什么我们系统管理员安装监控解决方案和24小时文本通知,并安装木偶和模板之类的东西,以确保某些服务始终运行...您将在www.serverfault.com上获得更详细的答案 - 这是一个编程网站。

Probably a segmentation fault in a php child. Do your php-fpm logs show segmentation faults or other errors?

Yes, it's common practice to have a service running that checks to make sure php-fpm and other services are running.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM