2011年3月6日星期日

Re: how to catch memory leak?

On Fri, Mar 4, 2011 at 5:48 AM, magz <nginx-forum@nginx.us> wrote:
> Is there any ways to catch memory leak in nginx? I run valgrind and it
> does not catch anything.

When you run nginx with valgrind, please ensure that you set the
following stuffs in your nginx.conf:

worker_processes 1;
daemon off;
master_process off;

Cheers,
-agentzh

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

没有评论:

发表评论