Welcome! Log In Create A New Profile

Advanced

Re: NGINX reload memory leak

Aleksandar Lazic
March 08, 2016 11:20AM
Hi.

Am 08-03-2016 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 know to clean it
> up. I
> 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,
> so
> there should be nothing left. Even so, each reload increases the memory
> slightly till NGINX crashes.
> Any ideas on why this is happening?

Please can you post:

..) nginx -V
..) the config
..) lsb_release -a or something similar for your system
..) HW/VM/Image setup


> Thanks,
> Ben.
>
> Posted at Nginx Forum:
> https://forum.nginx.org/read.php?2,265157,265157#msg-265157
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

NGINX reload memory leak

ben5192 March 08, 2016 08:01AM

Re: NGINX reload memory leak

Aleksandar Lazic March 08, 2016 11:20AM

Re: NGINX reload memory leak

ben5192 March 08, 2016 12:03PM

Re: NGINX reload memory leak

Robert Paprocki March 08, 2016 11:46AM

Re: NGINX reload memory leak

ben5192 March 08, 2016 12:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 298
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready