关于Failed to start php-fpm.service的问题

ziying 3月前 125

希望引起官方重视,可以确定是环境的问题,同样的代码换到别的环境都是完全没毛病的,我整个页面就一个生成link的函数都频繁出现502错误!
相关问题帖子!
我们用的TP框架
https://bbs.appnode.com/thread-1695.htm
https://bbs.appnode.com/thread-1703.htm

最新回复 (8)
  • 虚竹 3月前
    引用 2

    给出错误日志看下。
    你给出的别人发的两个帖子里的问题,已经解决,而且都不是环境的问题。

  • ziying 3月前
    引用 3
    2019/05/28 16:02:15 [error] 72189#72189: *25661 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 211.157.163.102, server: www.test.com, request: "POST /?access_token=FACITOKEN578954BD013DE8F13012894A690759A5&method=Open.third.loginByCode HTTP/1.1", upstream: "fastcgi://unix:/data/phpmysql/sites/api.test.com/php-pool/php-fpm.sock:", host: "api.test.com"
    2019/05/28 16:02:16 [error] 72189#72189: *25665 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 211.157.163.102, server: www.test.com, request: "POST /?access_token=FACITOKEN578954BD013DE8F13012894A690759A5&method=Open.third.loginByCode HTTP/1.1", upstream: "fastcgi://unix:/data/phpmysql/sites/api.test.com/php-pool/php-fpm.sock:", host: "api.test.com"
    2019/05/28 16:02:16 [error] 72189#72189: *25669 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 211.157.163.102, server: www.test.com, request: "POST /?access_token=FACITOKEN578954BD013DE8F13012894A690759A5&method=Open.third.loginByCode HTTP/1.1", upstream: "fastcgi://unix:/data/phpmysql/sites/api.test.com/php-pool/php-fpm.sock:", host: "api.test.com"
    2019/05/28 16:11:08 [error] 72189#72189: *25961 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 211.157.163.102, server: www.test.com, request: "POST /?access_token=FACITOKEN578954BD013DE8F13012894A690759A5&method=Open.third.loginByCode HTTP/1.1", upstream: "fastcgi://unix:/data/phpmysql/sites/api.test.com/php-pool/php-fpm.sock:", host: "api.test.com"
    2019/05/28 16:11:10 [error] 72189#72189: *25965 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 211.157.163.102, server: www.test.com, request: "POST /?access_token=FACITOKEN578954BD013DE8F13012894A690759A5&method=Open.third.loginByCode HTTP/1.1", upstream: "fastcgi://unix:/data/phpmysql/sites/api.test.com/php-pool/php-fpm.sock:", host: "api.test.com"
    2019/05/28 16:11:11 [error] 72189#72189: *25969 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 211.157.163.102, server: www.test.com, request: "POST /?access_token=FACITOKEN578954BD013DE8F13012894A690759A5&method=Open.third.loginByCode HTTP/1.1", upstream: "fastcgi://unix:/data/phpmysql/sites/api.test.com/php-pool/php-fpm.sock:", host: "api.test.com"
    2019/05/28 16:11:11 [error] 72189#72189: *25973 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 211.157.163.102, server: www.test.com, request: "POST /?access_token=FACITOKEN578954BD013DE8F13012894A690759A5&method=Open.third.loginByCode HTTP/1.1", upstream: "fastcgi://unix:/data/phpmysql/sites/api.test.com/php-pool/php-fpm.sock:", host: "api.test.com"
    2019/05/28 16:11:12 [error] 72189#72189: *25977 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 211.157.163.102, server: www.test.com, request: "POST /?access_token=FACITOKEN578954BD013DE8F13012894A690759A5&method=Open.third.loginByCode HTTP/1.1", upstream: "fastcgi://unix:/data/phpmysql/sites/api.test.com/php-pool/php-fpm.sock:", host: "api.test.com"
    2019/05/28 16:11:12 [error] 72189#72189: *25981 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 211.157.163.102, server: www.test.com, request: "POST /?access_token=FACITOKEN578954BD013DE8F13012894A690759A5&method=Open.third.loginByCode HTTP/1.1", upstream: "fastcgi://unix:/data/phpmysql/sites/api.test.com/php-pool/php-fpm.sock:", host: "api.test.com"
    2019/05/28 16:11:13 [error] 72189#72189: *25985 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 211.157.163.102, server: www.test.com, request: "POST /?access_token=FACITOKEN578954BD013DE8F13012894A690759A5&method=Open.third.loginByCode HTTP/1.1", upstream: "fastcgi://unix:/data/phpmysql/sites/api.test.com/php-pool/php-fpm.sock:", host: "api.test.com"
    2019/05/28 16:17:44 [error] 72189#72189: *26097 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 211.157.163.102, server: www.test.com, request: "GET /index/login/icode/5ceceea85ce0d.html HTTP/1.1", upstream: "fastcgi://unix:/data/phpmysql/sites/api.test.com/php-pool/php-fpm.sock:", host: "login.test.com"
    2019/05/28 16:31:15 [error] 72189#72189: *26347 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 211.157.163.102, server: www.test.com, request: "POST /?access_token=FACITOKEN5D5ADEF68B2B4CFEDAF021353F278490&method=Open.third.loginByCode HTTP/1.1", upstream: "fastcgi://unix:/data/phpmysql/sites/api.test.com/php-pool/php-fpm.sock:", host: "api.test.com"
    2019/05/28 16:31:17 [error] 72189#72189: *26351 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 211.157.163.102, server: www.test.com, request: "POST /?access_token=FACITOKEN5D5ADEF68B2B4CFEDAF021353F278490&method=Open.third.loginByCode HTTP/1.1", upstream: "fastcgi://unix:/data/phpmysql/sites/api.test.com/php-pool/php-fpm.sock:", host: "api.test.com"
    2019/05/28 16:36:17 [error] 72189#72189: *26358 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 211.157.163.102, server: www.test.com, request: "GET /index/login/icode/5ceceea85ce0d.html HTTP/1.1", upstream: "fastcgi://unix:/data/phpmysql/sites/api.test.com/php-pool/php-fpm.sock:", host: "login.test.com"
  • ziying 3月前
    引用 4
    同样的PHP版本、操作系统,换了环境,就好了!
  • 虚竹 3月前
    引用 5
    上面这个是nginx日志吧,看起来可能是你的PHP出错了,中断了连接。
    提供下PHP的错误日志看下。
  • ziying 1月前
    引用 6
    经过很长时间的测试,由于php7.3.4的问题造成,升级到7.3.6版本之后的版本,问题得到解决
  • ziying 1月前
    引用 7
    虚竹 上面这个是nginx日志吧,看起来可能是你的PHP出错了,中断了连接。 提供下PHP的错误日志看下。
    请问什么时候发个php的升级
  • 虚竹 1月前
    引用 8
    感谢反馈,今天打包。
  • 虚竹 1月前
    引用 9
    已更新至7.3.8
返回
发新帖