Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ベンチマークでたまに失敗する #7

Open
ryota-sakamoto opened this issue Jun 15, 2018 · 0 comments
Open

ベンチマークでたまに失敗する #7

ryota-sakamoto opened this issue Jun 15, 2018 · 0 comments

Comments

@ryota-sakamoto
Copy link
Contributor

ryota-sakamoto commented Jun 15, 2018

再現条件不明ですが、原因としてはCookieが消えているのが原因ぽいです。

成功: &{POST http://isubata.example.com/add_channel HTTP/1.1 1 1 map[User-Agent:[isucon7q-benchmarker] Cookie:[session=MTUyOTA0NDgxNHxEdi1CQkFFQ180SUFBUkFCRUFBQUl2LUNBQUVHYzNSeWFXNW5EQWtBQjNWelpYSmZhV1FGYVc1ME5qUUVCQUQtQWZ3PXwtgrgoTCGnZnXKdQEX56eigzk2e_HN7RL5sD33gPOepg==] Content-Type:[application/x-www-form-urlencoded]] {} 0x6c1360 93 [] false isubata.example.com map[] map[] <nil> map[]   <nil> <nil> <nil> 0xc424609440} <nil>
失敗: &{POST http://isubata.example.com/add_channel HTTP/1.1 1 1 map[User-Agent:[isucon7q-benchmarker] Content-Type:[application/x-www-form-urlencoded]] {} 0x6c1360 135 [] false isubata.example.com map[] map[] <nil> map[]   <nil> <nil> <nil> 0xc424c8faa0} Post http://isubata.example.com/add_channel: EOF
[isu7q-bench] 2018/06/15 15:34:24.248761 bench.go:491: {"job_id":"","ip_addrs":"localhost","pass":false,"score":0,"message":"負荷走行前のバリデーションに失敗しました。2018-06-15 15:34:24.24787555 +0900 JST m=+7.923937128 リクエストに失敗しました Post http://isubata.example.com/add_channel: EOF (POST /add_channel )","error":["2018-06-15 15:34:24.24787555 +0900 JST m=+7.923937128 リクエストに失敗しました Post http://isubata.example.com/add_channel: EOF (POST /add_channel )"],"log":null,"load_level":0,"start_time":"2018-06-15T15:34:16.801076066+09:00","end_time":"2018-06-15T15:34:24.2479395+09:00"}

エラー出てるのは以下の箇所になります。
(クッキー関係なかったです)

err = checker.Play(ctx, &CheckAction{

2018/06/15 17:37:49 [error] 27305#27305: *41767 readv() failed (104: Connection reset by peer) while reading upstream, client: ::1, server: isubata.example.com, request: "POST /profile HTTP/1.1", upstream: "http://127.0.0.1:5000/profile", host: "isubata.example.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant