Hello!

On Wed, Jun 22, 2016 at 02:21:51PM +0000, MAGNIEN, Thierry wrote:

> Thanks for your response. I already saw that, and that's why I 
> use a dedicated pool in shared memory for regex compilation. All 
> my ngx_regex_compile_t structs allocate from this unique pool. 
> Could pool in shared memory be automatically freed when 
> reloading ? And in that case, why would new workers get the 
> correct value ? Is there a place where memory is duplicated 
> between workers before dying/start of workers ?

There are no pools in shared memory in nginx - except 
ngx_slab_pool_t, which is quite different from normal memory 
pools and cannot be used in ngx_regex_compile_t.

-- 
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to