Google PerfTools Module#
Enables profiling of Angie worker processes using Google Performance Tools. The module is intended for Angie developers and allows them to analyze and optimize server performance by providing detailed information about memory usage, CPU load, and other performance metrics.
When building from source code,
this module isn't built by default;
it should be enabled with the
--with-google_perftools_module
build parameter.
Important
This module requires the gperftools library.
Configuration Example#
google_perftools_profiles /var/log/angie/perftools;
Profiles will be stored in files like
/var/log/angie/perftools.<worker process PID>
.
Directives#
google_perftools_profiles#
Sets the filename prefix
where profiling information for the Angie worker process will be stored.
The worker process ID is appended at the end of the name after a dot, for example:
/var/log/angie/perftools.1234
.