1

haproxy/ssl -> node.js (アプリ サーバー) -> データベースで構成されるゲーム サーバー スタックの負荷テストを行っています。

呼び出しは get であり、次に node.js が db に渡され、データがクライアントに返されますが、さまざまなテスト中に追跡できないさまざまな奇妙な問題が見られます。

tcpdump 'tcp[13] & 4!=0' の実行中 | grep http-alt

ログにはさまざまなものが表示されます。

23:35:16.049886 IP xx > xx.http-alt: Flags [R], seq 2946709660, win 0, length 0 23:35:16.668370 IP xx.62737 > xx.http-alt: Flags [R.], seq 4204676699, ack 3037703652, win 68, options [nop,nop,TS val 153103530 ecr 133109021], length 0 23:36:06.030500 IP xx.40290 > xx.http-alt: Flags [R.], seq 431162404, ack 2610577956, win 68, options [nop,nop,TS val 153115871 ecr 133121361], length 0

表示されているコマンドを終了する

1662286 個のパケットがフィルターによって受信され、9 個のパケットがカーネルによってドロップされました

私たちの負荷テストアプリもエラーを返します..この行に沿って

T000023 --- loop started --- 19 Aug 2013 18:09:07.975 ---r" T000023r" T000023 <<< user_id = nullr" T000023 <<< ext_userid = nullr" T000023 <<< Public_token_put = nullr" T000023 <<< Private_token_prt = nullr" T000023 >>> execute plug-in #1: GenerateRandomCharactersr" T000023r" T000023r" T000023 # Page #1: Registrationr" T000023 # ---------------------r" T000023r" T000023 [1] GET https://someurl.com:2222/?method=somemethod&type=reg=somerandomid ...r" T000023 -8 (Network Connection aborted by Server), [No Content Type], --- bytes, --- ms, * Failed at 'Open Network Connection', java.net.SocketException: Connection resetr" T000023 error: expected HTTP status: 200 <> received: -8 (Network Connection aborted by Server), [No Content Type], --- bytes, --- ms, ** Failed at 'Open Network Connection', java.net.SocketException: Connection resetr

どこから始めるべきかについての考え..

サーバーは、sysctlに1つの調整を加えたubuntu 12.04サーバーです

net.netfilter.nf_conntrack_max = 262144

4

1 に答える 1