Analyzer openresty-core-dump-analysis
Name
openresty-core-dump-analysis - OpenResty Core Dump Analysis
This analyzer performs specialized post-mortem analysis of core dump files from OpenResty and Kong applications. It leverages GDB to extract detailed debugging information including C-level and Lua-level stack traces, LuaJIT VM state, nginx module contexts, and memory structures. The analyzer generates comprehensive text reports that correlate native code execution with Lua runtime state, enabling deep troubleshooting of crashes involving the interaction between nginx, LuaJIT, and application code.
Resource Category
Miscellaneous.
Application Type & Technical Stack
- OpenResty
- Kong
- APISIX
Command Line Syntax
The analyzer can be invoked directly on the command-line via the orxray
utility from the openresty-xray-cli software package.
Alternatively, the analyzer can also be invoked manually or automatically on the web console UI of OpenResty XRay (like on the Advanced web page).
# PID is the target process PID.
orxray analyzer run openresty-core-dump-analysis -p PID
# trace a shell command directly
orxray analyzer run openresty-core-dump-analysis -c SHELL_CMD
# PGID is the process group ID or any process's PID within the target process
# group.
orxray analyzer run openresty-core-dump-analysis -p -PGID
# trace any processes started from the specified executable path.
orxray analyzer run openresty-core-dump-analysis --exe /path/to/exe/file
Tracing Multiple Processes
Supported.
Output Formats
- Plain Texts
Author
The OpenResty Inc. Team.
Copyright
Copyright (C) by OpenResty Inc. All rights reserved.