Welcome! Log In Create A New Profile

Advanced

Memory increase at reload

Aashish
August 21, 2014 02:22PM
Hi,

I've written an nginx module that creates a few large data structures at
initialization time. These data structures are part of the location
configuration for that module.

Whenever I do a reload, these data structures are re-created, and the new
configuration points to the newly created ones. But the old data structures
are not freed up and still remain in the shared memory. This is leading to
a lot of memory usage over repeated reloads.

Is there anyway I can avoid this memory pile-up while still being able to
do multiple reloads?

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

Memory increase at reload

Aashish August 21, 2014 02:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 176
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