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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
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