ninenines / gun

HTTP/1.1, HTTP/2, Websocket client (and more) for Erlang/OTP.
ISC License
898 stars 231 forks source link

What does :shutdown mean? #179

Closed 9mm closed 5 years ago

9mm commented 5 years ago

I randomly get this for some high volume requests but I can't pin down where this is from? what is going wrong?

essen commented 5 years ago

If it's just a shutdown exit reason, it just means the owner process is gone for reason shutdown.

9mm commented 5 years ago

Can you think of any reason why Elixir/Erlang would do that? All I'm doing is ~20-30 requests per second and I randomly get :shutdown but there's no other information about it. I am trying to trace where/why its happening

essen commented 5 years ago

Alternatively it could be a linked process that exits with reason shutdown.

petrohi commented 5 years ago

@essen you may close this one--issue is in machine_gun