Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] coredunmp 工具功能更新 #191

Closed
hyj1991 opened this issue Aug 24, 2022 · 2 comments
Closed

[WIP] coredunmp 工具功能更新 #191

hyj1991 opened this issue Aug 24, 2022 · 2 comments
Assignees
Labels

Comments

@hyj1991
Copy link
Member

hyj1991 commented Aug 24, 2022

目前 coredump 使用的是在 Google coredumper 基础上定制的版本: https://github.com/x-profiler/coredumper

计划将此模块更新为阿里即将开源的轻量 coredump 工具,会包含详细的 dwarf 调试信息,便于 core 文件的事后分析。

调研后 arthur 更适合作为现场分析工具,即对没有使用 xprofiler 的普通 Node.js 应用导出 core 文件,故修改为对内置的 gcore 的优化:

  • 增加 BuildId 关联,可以无需 node.typ 即可使用 andb 分析
  • 增加 lz4 压缩逻辑,减小生成的 core 文件体积

BuildId 已经实现增加,lz4 对 core 的压缩需要再规划下,现阶段必要性不大。

@hyj1991 hyj1991 self-assigned this Aug 24, 2022
@hyj1991
Copy link
Member Author

hyj1991 commented Sep 26, 2022

@hyj1991 hyj1991 changed the title [RFC] coredunmp 工具更新 [WIP] coredunmp 工具功能更新 Oct 19, 2022
@hyj1991
Copy link
Member Author

hyj1991 commented Oct 19, 2022

#204

@hyj1991 hyj1991 closed this as completed Oct 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant