httperf を使用した connreset の重要性は何なのか疑問に思っています。1 つの Web ページをテストすると、エラーは発生しません。複数のページを持つ単純な .log ファイルを使用すると、100% の connreset エラーが発生します。これを克服する方法についての提案はありますか?
1733 次
1 に答える
3
自分で出くわしたので、これを追跡する必要がありました。manページには次のように書かれています:
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.
自分のサーバーの実装でこれをやめるには、サーバー側の接続のクローズを無効にする必要がありました。サーバーが接続を閉じることに積極的すぎることが判明しました。
于 2011-06-27T19:36:50.347 に答える