Skip to content
Discussion options

You must be logged in to vote

因为agent使用了cgo调用C代码,导致有部分内存无法被pprof统计到,cgo部分包括kindling获取内核事件和通过netlink获取conntrack表信息。主要的内存占用是cgo部分和collector的指标数据。

要分析内存可以尝试jemalloc这个内存分配器,可以统计到C部分申请的内存。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zcl1115
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants