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

error when benchmarking using wrk #251

Open
ouvaa opened this issue Mar 9, 2024 · 2 comments
Open

error when benchmarking using wrk #251

ouvaa opened this issue Mar 9, 2024 · 2 comments

Comments

@ouvaa
Copy link

ouvaa commented Mar 9, 2024

wrk -t 1 -d 10 http://127.0.0.1:8080/

shows error below :

./target/release/examples/hyper-server
Running http server on 0.0.0.0:8080
Running http server on 0.0.0.0:8080
Running http server on 0.0.0.0:8080
Running http server on 0.0.0.0:8080
Running http server on 0.0.0.0:8080
Running http server on 0.0.0.0:8080
Error serving connection: hyper::Error(Shutdown, Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" })
Error serving connection: hyper::Error(Shutdown, Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" })
Error serving connection: hyper::Error(Shutdown, Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" })
Error serving connection: hyper::Error(Shutdown, Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" })
Error serving connection: hyper::Error(Shutdown, Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" })
Error serving connection: hyper::Error(Shutdown, Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" })

@hxzhao527
Copy link
Contributor

hxzhao527 commented Mar 15, 2024

  1. This is not a problem with monoio. It just works the same with examples in hyper.
  2. It seems wrk not close connection correctly.
    image

@SteveLauC
Copy link
Contributor

Filed an issue in the upstream hyper repo: hyperium/hyper#3669

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

3 participants