zclllyybb opened a new issue, #62497: URL: https://github.com/apache/doris/issues/62497
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Description In production environments, we often need to print the stack of doris_be, but using methods like pstack is not acceptable because: 1. It is slow 2. It might cause the BE to crash Therefore, we need a better way to print the stack, limiting the impact on the process to the second/sub-second level, accurate and without crash risk. ### Solution Conduct thorough research on mainstream C++ server stack tracing methods, including but not limited to https://github.com/oceanbase/obstack for OceanBase, https://clickhouse.com/docs/operations/system-tables/stack_trace for ClickHouse, and brpc's `/threads` API. Verify their performance and stability in practice. Output research and design documentations. Complete the code development and detailed stability verification according to the decided plan. ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
