Analyzer epoll-wait-timers-fgraph
Name
epoll-wait-timers-fgraph - Wait timers flamegraph for epoll
This analyzer generates flame graph visualizations of wait timer behavior in epoll-based event loops across all application types. It captures stack traces during epoll_wait operations with full stack unwinding, showing the code paths leading to event loop waiting. The flame graph visualization helps identify which components or operations are causing the event loop to wait, enabling targeted optimization of asynchronous I/O patterns.
Resource Category
CPU.
Application Type & Technical Stack
- All
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 epoll-wait-timers-fgraph -p PID
# trace a shell command directly
orxray analyzer run epoll-wait-timers-fgraph -c SHELL_CMD
# PGID is the process group ID or any process's PID within the target process
# group.
orxray analyzer run epoll-wait-timers-fgraph -p -PGID
# trace any processes started from the specified executable path.
orxray analyzer run epoll-wait-timers-fgraph --exe /path/to/exe/file
Tracing Multiple Processes
Supported.
Output Formats
- Flame Graphs
Author
The OpenResty Inc. Team.
Copyright
Copyright (C) by OpenResty Inc. All rights reserved.