[erlang-questions] Garbage Collection, BEAM memory and Erlang memory

Rick Reed <>
Wed Mar 4 18:12:23 CET 2015


Interesting.  What kind of load were you throwing at stud that it couldn’t handle?  We terminate all our SSL using stud.  We easily do >2000 handshakes per second and as much as 8Gb/s per server.  Granted, these are pretty beefy boxes, but the only part of the stud setup that doesn’t scale for us is when we’re trying to scale up past 1.5M external connections (which means 4.5M sockets).

Rr

From: Roberto Ostinelli <<mailto:>>
Date: Wednesday, March 4, 2015 at 7:56 AM
To: Benoit Chesneau <<mailto:>>
Cc: Erlang Questions <<mailto:>>
Subject: Re: [erlang-questions] Garbage Collection, BEAM memory and Erlang memory

Yes.
It stabilized impressively the whole thing.

I also tried HAproxy (single CPU), and stud. Both were far from being able to handle the load that I'm throwing at them. I mean, *far*.

Best,
r.

On Wed, Mar 4, 2015 at 1:08 PM, Benoit Chesneau <<mailto:>> wrote:


On Thu, Feb 26, 2015 at 12:56 PM, Roberto Ostinelli <<mailto:>> wrote:
Ah yes, indeed. The SSL processes I keep forgetting about.
I'm tempted to do another run with this option in.


Did you have any success with it? In our own tests it just mitigate the issue for some times, but it is still growing over the time.

- benoit


On Thu, Feb 26, 2015 at 11:17 AM, Loïc Hoguin <<mailto:>> wrote:
He makes a good point, you are using hibernate yes, but that doesn't hibernate SSL processes themselves. With hibernate_after the SSL processes would hibernate too.

Not sure if that would solve anything though, and SSL can probably be made more stable without the need to hibernate, which has a cost on its own.

_______________________________________________
erlang-questions mailing list
<mailto:>
http://erlang.org/mailman/listinfo/erlang-questions



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150304/2aa1ed1d/attachment.html>


More information about the erlang-questions mailing list