# Nginx and google perftools

**URL:** <https://www.ruby-forum.com/t/nginx-and-google-perftools/200057>\
**Category:** NGINX\
**Created:** [December 3, 2010, 9:52pm UTC](https://www.ruby-forum.com/t/nginx-and-google-perftools/200057 "2010-12-03T21:52:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [December 3, 2010, 9:52pm UTC](https://www.ruby-forum.com/t/nginx-and-google-perftools/200057/1 "2010-12-03T21:52:17Z")

</div>

Hey folks,

I was reading the wiki how to configure perftools for nginx and I could  
get  
it working thanks to google translate and the russian support 🙂 So the  
point is that google\_perftools\_profiles directive must be in the main  
section and than it creates the files (per process) in the directory you  
have specified.

My question would be:

what is next? The files are there but with 0 size:

-rw-rw-rw- 1 www wheel 0B Dec 3 20:29 nginx.75619  
-rw-rw-rw- 1 www wheel 0B Dec 3 20:29 nginx.75618  
-rw-rw-rw- 1 www wheel 0B Dec 3 20:29 nginx.75617  
-rw-rw-rw- 1 www wheel 0B Dec 3 20:29 nginx.75616

How can I cat nginx to populate the files with data?

Do I miss something obvious?

Thank you in advance,  
Istvan

–  
the sun shines for all

[http://blog.l1x.me](http://blog.l1x.me)  
[http://wperf.com/](http://wperf.com/)

---

<div class="post-metadata">

**Author:** ![SSIstvSSnSS\_SSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f07891/32.png) [@SSIstvSSnSS\_SSS](https://www.ruby-forum.com/u/SSIstvSSnSS_SSS)\
**Post date:** [December 3, 2010, 10:48pm UTC](https://www.ruby-forum.com/t/nginx-and-google-perftools/200057/2 "2010-12-03T22:48:07Z")

</div>

Let me answer my own question.

I guess the files are written when the process quits at least I have got  
non-zero size files after restarting nginx.

Thank you anyway, I might update the wiki with this info.

Regards,  
Istvan

On Fri, Dec 3, 2010 at 8:51 PM, István [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> [http://wperf.com/](http://wperf.com/)

–  
the sun shines for all

[http://blog.l1x.me](http://blog.l1x.me)
