# openresty/openresty-systemtap-toolkit

Real-time analysis and diagnostics tools for OpenResty (including NGINX, LuaJIT, ngx_lua, and more) based on SystemTap

Repository: https://github.com/openresty/openresty-systemtap-toolkit
Canonical: https://ross.abutalabs.com/products/openresty-systemtap-toolkit
Language: Perl
License Family: other
Last push: 2023-03-14T04:01:02+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5116, "days_push": 1268, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1668, forks 351 (observed 2026-08-28T04:05:19.738147+00:00)

## What it is
A collection of SystemTap-based real-time analysis and diagnostics tools for OpenResty, NGINX, LuaJIT, and ngx_lua. It provides scripts for sampling backtraces, inspecting shared memory and connection pools, detecting leaked memory pools, and monitoring TCP accept queues.

## Use cases
- profile nginx cpu usage with flamegraph backtraces
- find memory pool leaks in openresty
- inspect nginx lua shared dict usage
- monitor tcp accept queue overflow on linux
- sample off-cpu time for nginx workers
- trace which files nginx accesses at runtime

## When to choose
- you run OpenResty or ngx_lua on Linux and need deep dynamic tracing without code changes
- you need LuaJIT-level backtraces or shared memory inspection in production
- you are on an older Linux stack where SystemTap is the only viable tracing option

## When to avoid
- you want a maintained tool - the project is explicitly unmaintained in favor of OpenResty XRay
- you are on non-Linux platforms or cannot install kernel debug symbols and SystemTap
- you only need basic metrics that standard nginx monitoring or eBPF tools provide

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: monitoring, tracing, developer-tools, benchmarking
- domain: developer-tools, performance, monitoring, web-development
- platform: cli
- tags: systemtap, nginx, luajit, dynamic-tracing, openresty, profiling, diagnostics, linux

## Member repositories
- openresty/openresty-systemtap-toolkit (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:19.738147+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:42:50.542518+00:00, confidence not recorded.
  - readme: https://github.com/openresty/openresty-systemtap-toolkit (fetched 2026-08-28T04:05:19.738147+00:00, sha d7127fa455da)
- Data as of 2026-08-30T08:39:29.467469+00:00.
