nginx - nginx错误readv()和recv()失败

标签 nginx fastcgi

我将nginx与fastcgi一起使用。我在错误日志中看到很多以下错误

readv() failed (104: Connection reset by peer) while reading upstream and recv() failed (104: Connection reset by peer) while reading response header from upstream



使用该应用程序我看不到任何问题。这些错误是严重的还是如何消除它们。

最佳答案

我在后台使用php-fpm,并且在所说的超时后,缓慢的脚本被杀死,因为它是按照这种方式配置的。因此,花费较长时间超过指定时间的脚本将被杀死,并且当从php-fpm引擎/进程关闭连接时,nginx将报告recv或readv错误。

关于nginx - nginx错误readv()和recv()失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1733306/

相关文章:

php - mod_fcgid : can't apply process slot for/var/www/cgi-bin/cgi_wrapper/cgi_wrapper

php - 如果正在进行流式下载,Nginx PHP-FPM 不提供请求

asp.net - nginx 中用于多个 FastCGI ASP.NET Mono 后端的版本化 URL

python - 无法导入 flup.server.fcgi

docker 组成 : nginx with self SSL cert not working

php - Symfony - Guzzle 请求 : cURL error 6: Could not resolve host

docker - 无法在Dockerfile中运行多个COMMAND,最后一个被忽略

nginx - 通过 http 公开 phusion passenger-status

python - 如何使用 create_app 将 Flask 应用程序中的不同配置设置提供给 uwsgi?