ssl_connection process hibernation option

Ferenc Holzhauser ferenc.holzhauser@REDACTED
Fri Feb 4 09:57:11 CET 2011


Hi,

I'm using R14B01 new SSL to set up a lot of (not very active) client
connections.

I have noticed that ssl_connection processes use a lot of memory between
GC's.
A forced GC makes them small again until the next piece of received data.

This adds up to a significant memory usage (around 350-400 kB/session on a
x64 system in my case) limiting the number of possible sessions.

An option to hibernate this gen_fsm would decrease the average memory usage
in this scenario.

Would it be possible to introduce this option?

Thanks in advance,
Ferenc


More information about the erlang-questions mailing list