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

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
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