admin管理员组文章数量:1193751
A server of mine sits and resizes images for a living. It can live for days, weeks, or sometimes longer - but always eventually just mysteriously stops working, and all PHP scripts on the box are returned with a 503 error. At the time the thing crashes, it says in the logs:
[Fri Jan 24 01:19:48.216104 2025] [proxy_fcgi:error] [pid 789479:tid 789518] [client (snip).114.41:64368] AH01079: failed to make connection to backend: localhost
[Fri Jan 24 01:20:00.962347 2025] [proxy:error] [pid 580278:tid 580310] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php-fpm/www.sock (localhost:8000) failed
[Fri Jan 24 01:20:00.962378 2025] [proxy_fcgi:error] [pid 580278:tid 580310] [client (snip).114.28:29704] AH01079: failed to make connection to backend: localhost
I'm a little lost for where to go to understand what's going on. A reboot fixes it, and so does a restart of PHP-FPM, I think (but I normally go for the reboot).
It's a relatively standard Amazon Linux 3 box, with Apache and PHP on it.
(I actually don't know why it thinks its running a proxy; but, as I say, it can be fine for weeks without suddenly crashing).
Where should I be looking to learn more about why it's crashing?
本文标签: fastcgiHow can I work out why PHP FCGI is crashingStack Overflow
版权声明:本文标题:fastcgi - How can I work out why PHP FCGI is crashing? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1738441878a2087001.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论