# Profiling NGINX

**URL:** <https://www.ruby-forum.com/t/profiling-nginx/207071>\
**Category:** NGINX\
**Created:** [May 17, 2011, 6:33pm UTC](https://www.ruby-forum.com/t/profiling-nginx/207071 "2011-05-17T18:33:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [May 17, 2011, 6:33pm UTC](https://www.ruby-forum.com/t/profiling-nginx/207071/1 "2011-05-17T18:33:43Z")

</div>

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:

> **[Profiling NGINX](https://forum.nginx.org/read.php?2,198795,198795#msg-198795)**
>
> 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

---

<div class="post-metadata">

**Author:** ![arleybls](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c77e96/32.png) [@arleybls](https://www.ruby-forum.com/u/arleybls)\
**Post date:** [May 17, 2011, 7:25pm UTC](https://www.ruby-forum.com/t/profiling-nginx/207071/2 "2011-05-17T19:25:38Z")

</div>

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