SSL session cache

Maxim Dounin mdounin at
Fri Jun 17 12:02:44 MSD 2011


On Fri, Jun 17, 2011 at 10:48:07AM +1200, Ryan B wrote:

> Increasing the ssl_session cache from 10 to 30mins, would cause less
> cpu? (getting around 200 ssl hits/per min)
> ssl_session_cache    shared:SSL:10m;
> ssl_session_timeout  10m;
> to:
> ssl_session_cache    shared:SSL:30m;
> ssl_session_timeout  10m;

"30m" isn't "30mins" here, but 30 megabytes for session storage 
instead.  In 10m about 40000 sessions may be stored, and this is 
much more than you have hits per hour.  So this particular change 
isn't going to cause any visible effect.

Maxim Dounin

More information about the nginx mailing list