Welcome! Log In Create A New Profile

Advanced

Re: Memory leaks when used as a shared library

Maxim Dounin
August 01, 2015 10:56PM
Hello!

On Fri, Jul 31, 2015 at 09:57:05PM -0400, xfeep wrote:

> I want to build nginx into a shared library for this feature of
> nginx-clojure: https://github.com/nginx-clojure/nginx-clojure/issues/86 .
> But i found that there's memory leaks after stop server but without exit the
> process. Then I tried valgrind to check a simple test without any 3rd party
> module.

Well, the answer is simple: nginx is not designed to be a shared
library. If you want to convert it to be one, it's you who are
responsible for cleaning up various global allocations.

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

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

Memory leaks when used as a shared library

xfeep July 31, 2015 09:57PM

Re: Memory leaks when used as a shared library

xfeep July 31, 2015 10:32PM

Re: Memory leaks when used as a shared library

Maxim Dounin August 01, 2015 10:56PM

Re: Memory leaks when used as a shared library

xfeep August 02, 2015 10:31AM

Re: Memory leaks when used as a shared library

Lord Nynex August 04, 2015 03:36PM

Re: Memory leaks when used as a shared library

xfeep August 04, 2015 07:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 52
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready