<div dir="ltr"><div><div><div>Hi,<br>currently SSL session lifetime and SSL ticket lifetime are equal in nginx.<br></div><br>If we use session tickets with big enough lifetime (12hrs), we get a lot of error log messages while allocating new sessions in shared memory:<br>
<br>2014/03/18 13:36:08 [crit] 18730#0: ngx_slab_alloc() failed: no memory in SSL session shared cache "SSL"<br><br></div></div><div>We don't want to increase session cache size b/c working with it is a blocking operation and I believe it doesn't work good enought in our network scheme.<br>
</div><div><br>As I can see - those messages are generated by ngx_slab_alloc_pages()
even if session was added to the cache after expiration of some old
ones.<br><br></div><div>So, what do you think if we add one more config parameter to split session cache and session ticket lifetimes?<br><br></div><div>Thanks.<br></div><div><br>Regards,<br>kyprizel.<br></div></div>