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

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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