OoO La nuit ayant déjà recouvert d'encre ce jour du mercredi 02 novembre
2011, vers 23:55, Erik Torlen <[email protected]> disait :

> Okey, good to know Vincent.
> Do you know the memory impact using 10k, 20k etc?

Yes. Divide  by two to get  the size in kbytes.  So a 10k  cache will be
about 5Mbytes.  There is  also the internal  cache of OpenSSL  which can
contains 20000 sessions. I think that you can account for about the same
size. Emeric submitted a recent patch where he was modifying the size of
the internal session  cache depending on the size  of the external cache
(8 times smaller).

An active SSL connection can take a lot more memory than a session but I
don't know how  much exactly. If you have  long running connection, this
will be more an issue than session cache.
-- 
Vincent Bernat ☯ http://vincent.bernat.im

Watch out for off-by-one errors.
            - The Elements of Programming Style (Kernighan & Plauger)

Reply via email to