100% connreset 与 httperf?

发布于 2024-09-12 01:29:23 字数 116 浏览 5 评论 0原文

我想知道 connreset 与 httperf 的重要性是什么。测试单个网页时,我没有收到任何错误。当使用包含多个页面的简单 .log 文件时,我收到 100% connreset 错误。关于如何克服这个问题的建议?

I'm wondering what the importance of the connreset with httperf is. When testing a single webpage, I receive no errors. When using a simple .log file with several pages, I am getting 100% connreset errors. Suggestions on how to overcome this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ま昔日黯然 2024-09-19 01:29:23

当我自己遇到这个问题时,我最终不得不找到它。手册页内容如下:

connreset: The number of times a TCP connection failed due to a RESET from the
server. Typically, a RESET is received when the client attempts to send data to
the server at a time the server has already closed its end of the connection.
NT servers also send RESETs when attempting to establish a new connection when
the listen queue is full.

为了让我自己的服务器实现停止执行此操作,我必须禁用服务器端连接关闭。事实证明,服务器关闭连接过于激进。

I ended up having to track this down as I ran into it myself. The man page says the following:

connreset: The number of times a TCP connection failed due to a RESET from the
server. Typically, a RESET is received when the client attempts to send data to
the server at a time the server has already closed its end of the connection.
NT servers also send RESETs when attempting to establish a new connection when
the listen queue is full.

To get my own server implementation to stop doing this I had to disable the server side connection closing. It turned out that the server was being too aggressive about closing the connection.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文