how to catch memory leak?

agentzh agentzh at
Mon Mar 7 07:30:42 MSK 2011

On Fri, Mar 4, 2011 at 5:48 AM, magz <nginx-forum at> 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;


More information about the nginx mailing list