[erlang-bugs] SSL cache delete bug.

Ingela Anderton Andin ingela@REDACTED
Wed Jun 22 09:26:56 CEST 2011


Hi!

Yes this is a known bug. It has been fixed and pushed to github. ( Merge 
of branch ia/ssl/session-table-clean-up/OTP-9346)
The bug should not affect your connections but the memory consumption on a
long time perspective will go up.

Regards Ingela Erlang/OTP - Ericsson AB

Jan Jacobs wrote:
> Hi,
>
> I am getting a lot of the following errors in the log files:
> =ERROR REPORT==== 20-Jun-2011::05:27:31 ===
> Error in process <0.1702.0> on node 'maxman@REDACTED' with exit value: 
> {undef,[{ssl_session_cache,delete,[{8088,<<32 bytes>>}]}]}
>
> I managed to track it down to:
>
> In the ssl_manager.erl, lines 273 and 280 it sets up timer to clean 
> the cache. (see below)
>    Line 273: timer:apply_after(?CLEAN_SESSION_DB, CacheCb, delete, 
> [{{Host, Port}, ID}]),
>    Line 280: timer:apply_after(?CLEAN_SESSION_DB, CacheCb, delete, 
> [{Port, ID}]),
>
> CacheCB is equal to ssl_session_cache.erl.
> ssl_session_cache.erl only has a two parameter delete (delete(Cache, 
> Key)).
> The Cache is not been passed as the first parameter.
>
> Cheers
> Jan
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs
>




More information about the erlang-bugs mailing list