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
so through ngx_palloc or ngx_pcalloc so NGINX should know to clean it
have also added a function to exit process which uses ngx_pfree on
everything and then destroys the pool I created with ngx_destroy pool,
there should be nothing left. Even so, each reload increases the memory
slightly till NGINX crashes.
Any ideas on why this is happening?
Posted at Nginx Forum: