Profiling NGINX

arleybls nginx-forum at nginx.us
Tue May 17 21:25:11 MSD 2011


arleybls Wrote:
-------------------------------------------------------
> 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

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




More information about the nginx mailing list