I am storing things in a shared memory zone allocated with
ngx_shared_memory_add and allocating each slab with ngx_slab_alloc_locked
(as these items don’t need to be locked particularly). The problem I'm
having is that I add the shared memory with exactly the amount I need.
However, the final large
Hi,
I have a problem with a module I'm writing. I need to do something in the
main config after variables are read from the conf file, so I have put this
in the post_conf function. Then I need do something when to it when the
process is closed via
./nginx -s reload
this is in the exit_process func
Ok, thanks. I will post this over there.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,265157,265161#msg-265161
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
14:01, schrieb ben5192:
> > Hi,
> > I am working on a module for NGINX and am having a problem with
> memory
> > leaking when using "./nginx -s reload". Everything that is allocated
> is
> > done
> > so through ngx_palloc or ngx_pcalloc so NGINX should kno
Hi,
I am working on a module for NGINX and am having a problem with memory
leaking when using "./nginx -s reload". Everything that is allocated is done
so through ngx_palloc or ngx_pcalloc so NGINX should know to clean it up. I
have also added a function to exit process which uses ngx_pfree on
ever