[erlang-bugs] [erlang-questions] Process/FD leak in SSL R15B01

Loïc Hoguin essen@REDACTED
Tue Oct 16 18:35:54 CEST 2012


On 10/16/2012 11:18 AM, Ingela Anderton Andin wrote:
> Something you could try is to comment out the invocation of the function
> workaround_transport_delivery_problems in the terminate function of the
>   ssl_connection-process. This function can call recv(S, 0) and sounds
> like the probable recv that hangs even though it should not.

Preliminary observations seem to indicate that this does not solve 
anything. Server with patch has same number of sockets open as server 
without patch.

[{{prim_inet,recv0,3},34087},{{gen_fsm,loop,7},35167}]

Difference is probably due to now being peak time.

I'll have definite confirmation tomorrow.

-- 
Loïc Hoguin
Erlang Cowboy
Nine Nines
http://ninenines.eu



More information about the erlang-bugs mailing list