The openresty-systemtap-toolkit is a collection of SystemTap-based scripts designed for real-time analysis and diagnostics of OpenResty and its core components, including NGINX, LuaJIT, and ngx_lua. It provides developers and system administrators with tools to trace performance bottlenecks, memory usage, request distribution, regex execution, Lua execution, and file I/O behaviors in production systems. The toolkit helps identify leaks, analyze TCP queues, inspect shared memory usage, and generate flame graphs for CPU and off-CPU profiling. Many scripts are specific to NGINX worker and master processes, while others are generic enough to be applied to any Linux user-space process. Although the toolkit is no longer actively maintained—development has shifted to OpenResty XRay—it remains a valuable set of examples and utilities for advanced users of OpenResty and NGINX.

Features

  • Real-time tracing of NGINX requests, memory pools, and shared memory usage
  • Tools for analyzing regex performance, PCRE JIT usage, and execution stats
  • Sampling utilities for user-space and kernel-space backtraces with flame graph support
  • Lua-specific backtrace and connection pool analysis for ngx_lua and LuaJIT processes
  • TCP queue analysis tools for SYN, ACK, and receive queue performance
  • General-purpose SystemTap scripts for file I/O, latency, and debug info inspection

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow OpenResty SystemTap Toolkit

OpenResty SystemTap Toolkit Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of OpenResty SystemTap Toolkit!

Additional Project Details

Operating Systems

Linux

Programming Language

Perl

Related Categories

Perl Performance Testing Software

Registered

2025-10-03