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:
http://forum.nginx.org/read.php?2,198795,198795#msg-198795

arleybls Wrote:

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

Ty,
AB

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,198795,198812#msg-198812

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs