LMLPHP后院

刚刚,发生了一件怪事技术

maybe yes 发表于 2023-06-14 18:39

php-fpm.sock 文件突然的消失了。于是...

php-fpm.sock 文件莫名其妙的没有了。

2023/06/14 06:26:49 [crit] 2674160#2674160: *41405992 connect() to unix:/var/run/php/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 10.0.0.4, server: x.lmlphp.com, request: "GET /04/723/949.gz HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php-fpm.sock:", host: "x.lmlphp.com", referrer: "http://x.lmlphp.com"

... 26664 lines

2023/06/14 09:22:10 [crit] 3116132#3116132: *34776 connect() to unix:/var/run/php/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 10.0.0.4, server: x.lmlphp.com, request: "GET /03/358/029.gz HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php-fpm.sock:", host: "x.lmlphp.com", referrer: "http://x.lmlphp.com"
2023/06/14 09:47:19 [notice] 3133503#3133503: signal process started

太奇怪了,这简直不敢相信,到底是发生了什么巨大的安全隐患,到底是谁干的?

看看错误日志,发现曾经也出现过一次,不过几分钟后自动的恢复了。

2023/04/17 01:19:02 [crit] 2479799#2479799: *7691835 connect() to unix:/var/run/php/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 10.0.0.4, server: x.lmlphp.com, request: "GET /08/412/027.gz HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php-fpm.sock:", host: "x.lmlphp.com", referrer: "http://x.lmlphp.com"

... 1483 lines

2023/04/17 01:32:03 [crit] 2479799#2479799: *7697688 connect() to unix:/var/run/php/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 10.0.0.4, server: x.lmlphp.com, request: "GET /02/378/941.gz HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php-fpm.sock:", host: "x.lmlphp.com", referrer: "http://x.lmlphp.com"

这个软链接文件还会莫名其妙的突然消失,完全没有这么想,以至于我找了很长时间才发现这么个低级的问题。

到底是谁干的呢?digitalocean?

2024-12-22 10:14:59 1734833699 0.005203