<div dir="ltr">Any suggestions to the name?<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 24, 2014 at 3:56 PM, Maxim Dounin <span dir="ltr"><<a href="mailto:mdounin@mdounin.ru" target="_blank">mdounin@mdounin.ru</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<br>
On Mon, Mar 24, 2014 at 02:59:57PM +0400, kyprizel wrote:<br>
<br>
> something like this?<br>
<br>
Yes, something like. But initialized and with a better name.<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
><br>
> On Tue, Mar 18, 2014 at 8:00 PM, Maxim Dounin <<a href="mailto:mdounin@mdounin.ru">mdounin@mdounin.ru</a>> wrote:<br>
><br>
> > Hello!<br>
> ><br>
> > On Tue, Mar 18, 2014 at 03:42:33PM +0400, kyprizel wrote:<br>
> ><br>
> > > What will be the best way to do it?<br>
> ><br>
> > Probably a flag in ngx_slab_pool_t will be good enough.<br>
> ><br>
> > ><br>
> > ><br>
> > > On Tue, Mar 18, 2014 at 3:33 PM, Maxim Dounin <<a href="mailto:mdounin@mdounin.ru">mdounin@mdounin.ru</a>><br>
> > wrote:<br>
> > ><br>
> > > > Hello!<br>
> > > ><br>
> > > > On Tue, Mar 18, 2014 at 03:26:10PM +0400, kyprizel wrote:<br>
> > > ><br>
> > > > > Hi,<br>
> > > > > currently SSL session lifetime and SSL ticket lifetime are equal in<br>
> > > > nginx.<br>
> > > > ><br>
> > > > > If we use session tickets with big enough lifetime (12hrs), we get a<br>
> > lot<br>
> > > > of<br>
> > > > > 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<br>
> > memory in<br>
> > > > > SSL session shared cache "SSL"<br>
> > > > ><br>
> > > > > We don't want to increase session cache size b/c working with it is a<br>
> > > > > blocking operation and I believe it doesn't work good enought in our<br>
> > > > > network scheme.<br>
> > > ><br>
> > > > Just a side note: I don't think that size matters from performance<br>
> > > > point of view. The only real downside is memory used.<br>
> > > ><br>
> > > > > As I can see - those messages are generated by ngx_slab_alloc_pages()<br>
> > > > even<br>
> > > > > if session was added to the cache after expiration of some old ones.<br>
> > > > ><br>
> > > > > So, what do you think if we add one more config parameter to split<br>
> > > > session<br>
> > > > > cache and session ticket lifetimes?<br>
> > > ><br>
> > > > May be better approach will be to just avoid such messages?<br>
> > > ><br>
> > > > --<br>
> > > > Maxim Dounin<br>
> > > > <a href="http://nginx.org/" target="_blank">http://nginx.org/</a><br>
> > > ><br>
> > > > _______________________________________________<br>
> > > > nginx mailing list<br>
> > > > <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
> > > > <a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
> > > ><br>
> ><br>
> > > _______________________________________________<br>
> > > nginx mailing list<br>
> > > <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
> > > <a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
> ><br>
> ><br>
> > --<br>
> > Maxim Dounin<br>
> > <a href="http://nginx.org/" target="_blank">http://nginx.org/</a><br>
> ><br>
> > _______________________________________________<br>
> > nginx mailing list<br>
> > <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
> > <a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
> ><br>
<br>
<br>
> _______________________________________________<br>
> nginx mailing list<br>
> <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
> <a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
<br>
<br>
--<br>
Maxim Dounin<br>
<a href="http://nginx.org/" target="_blank">http://nginx.org/</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div></div>