Re: Memory leaks when used as a shared library

2015-08-04 Thread xfeep
Hi, Lord, Thank you! Lord Nynex Wrote: --- > Have you looked at https://github.com/openresty/no-pool-nginx ? > But the issue in my case is not related to nginx's pool mechanism. It is caused by some build-in modules which won't release it al

Re: Memory leaks when used as a shared library

2015-08-04 Thread Lord Nynex
Have you looked at https://github.com/openresty/no-pool-nginx ? On Sun, Aug 2, 2015 at 7:31 AM, xfeep wrote: > Hi, Maxim, > > Thanks for your reply! > --- > > Well, the answer is simple: nginx is not designed to be a shared > > library. If you

Re: Memory leaks when used as a shared library

2015-08-02 Thread xfeep
Hi, Maxim, Thanks for your reply! --- > 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. > You're rig

Re: Memory leaks when used as a shared library

2015-08-01 Thread Maxim Dounin
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. The

Re: Memory leaks when used as a shared library

2015-07-31 Thread xfeep
BTW, after start nginx by valgrind it won't print memory leaks report until we stop nginx by $ objs/nginx -c work-dir/test.conf -p work-dir Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260692,260693#msg-260693 ___ nginx mailing list nginx@

Memory leaks when used as a shared library

2015-07-31 Thread xfeep
Hi, 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 m