W3cubDocs

/nginx

Module ngx_google_perftools_module

The ngx_google_perftools_module module (0.6.29) enables profiling of nginx worker processes using Google Performance Tools. The module is intended for nginx developers.

This module is not built by default, it should be enabled with the --with-google_perftools_module configuration parameter.

This module requires the gperftools library.

Example Configuration

google_perftools_profiles /path/to/profile;

Profiles will be stored as /path/to/profile.<worker_pid>.

Directives

Syntax: google_perftools_profiles file;
Default:
Context: main

Sets a file name that keeps profiling information of nginx worker process. The ID of the worker process is always a part of the file name and is appended to the end of the file name, after a dot.

© 2002-2020 Igor Sysoev
© 2011-2020 Nginx, Inc.
Licensed under the BSD License.
https://nginx.org/en/docs/ngx_google_perftools_module.html