[erlang-questions] Gun process gone

Roberto Ostinelli roberto.ostinelli@REDACTED
Wed Jan 14 21:43:49 CET 2015


I indeed meant 60000.

The question is why the connection is gone in the first place. :) Unfortunately the retry code eats up the error, as it exits with "gone".

Thank you Loïc,
r.


> On 14/gen/2015, at 19:37, Loïc Hoguin <essen@REDACTED> wrote:
> 
> On 01/14/2015 07:26 PM, Roberto Ostinelli wrote:
>>> 2. How consecutive are these calls? gun's default keepalive setting is 5 seconds.
>> 
>> I've set the keepalive to 6000.
> 
> 6000 is 6 seconds, that's not much more. Maybe you meant 60000?
> 
> Anyway it's very possible that Gun has a bug, it's still fairly early code and it's only tested against Cowboy at this point. 'gone' means the connection is gone and all retries have failed (in this case, all 0 of them).
> 
> Would be interesting to trace the process and see what it's doing.
> 
> -- 
> Loïc Hoguin
> http://ninenines.eu



More information about the erlang-questions mailing list