openresty-systemtap-toolkit
openresty-systemtap-toolkit copied to clipboard
Issue running ngx-leaked-pools
Hi, I have been getting issues with running leaked pools:
sudo ./ngx-leaked-pools -p 7390 semantic error: while resolving probe point: identifier 'process' at :9:7 source: probe process("/usr/local/nginx/sbin/nginx").provider("nginx").mark("create-pool-done")
This has something to do with not able to find the marker in the symbols. Is this a known issue ? is there any pre-requisite ?
@avninagraj To quote the documentation for this tool:
This script requires Nginx instances that have applied the latest dtrace patch. See the dtrace-nginx project for more details.
The bundle ngx_openresty 1.2.3.3+ includes the right dtrace patch by default. And you just need to build it with the --with-dtrace-probes configure option.
See https://github.com/agentzh/nginx-systemtap-toolkit#ngx-leaked-pools for more details.
Systemtap not installed or its "stap" utility is not visible to the PATH environment: