Nginx参考手册
ngx_google_perftools_module
ngx_google_perftools_module
- 示例配置
- 指令
- google_perftools_profiles
该ngx_google_perftoos_module
模块(0.6.29)使用Google Performance Tools启用了对nginx工作进程的分析。该模块专供nginx开发人员使用。
该模块不是默认生成的,它应该使用--with-google_perftools_module
配置参数启用。
该模块需要gperftools库。
示例配置
google_perftools_profiles /path/to/profile;
配置文件将被存储为/path/to/profile.<worker_pid>
。
指令
句法: |
google_perftools_profiles文件; |
---|---|
默认: |
— |
语境: |
main |
设置保存nginx工作进程分析信息的文件名。工作进程的ID始终是文件名的一部分,并附加到文件名的末尾,在点之后。
ngx_google_perftools_module |
---|

Nginx是一款轻量级的 Web 服务器/反向代理服务器及电子邮件代理服务器,可在 BSD-like 协议下发行。其特点是占有内存少,并发能力强。
主页 | https://nginx.org/ |
源码 | http://hg.nginx.org/nginx |
发布版本 | 1.13.6 |