Profiling NGINX

Hello all,

I need to profile nginx+own_module. I’ve being trying to use gprof, but
even tough compiling along with --with-cc-opt=“-pg” --with-ld-opt=“-pg”
the gmon.out is not being generated.

Any ideas?

Cheers,
AB

Posted at Nginx Forum:

arleybls Wrote:

AB
Nerve mind, running manually along with “daemon off;” and
“master_process off;” did the trick.

Ty,
AB

Posted at Nginx Forum: