项目用Jenkins拉Git项目,然后软链接到web目录。然后用php-fpm执行。
Unable to open primary script: /home/www/test/public/index.php (Operation not permitted)" while reading response header from upstream, client: xx.xx.xx.xx, server: xx.xx.xx.xx, request: "GET /api/warning/wechat HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "xx.xx.xx.xx:xx", referrer: "http://xx.xx.xx.xx:xx/"
nginx经常报这种错误,再次刷新有可能不报错也有可能报错
这时候重启 php-fpm 就能正常一段时间
请问大家有什么建议吗
是不是在拉取项目的过程中进行的访问,这时候正在执行文件更新操作?