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

Profiling 功能无法显示dot图 #215

Open
CaesarTang opened this issue Nov 15, 2017 · 3 comments
Open

Profiling 功能无法显示dot图 #215

CaesarTang opened this issue Nov 15, 2017 · 3 comments

Comments

@CaesarTang
Copy link

Hi:
最近在试用Profiling 功能发现这个问题:

已经按照GitHub中的说明:https://github.com/baidu/sofa-pbrpc/wiki/Profiling%E5%8A%9F%E8%83%BD 进行的编译,可以在Http中CPU profiling时,可以生成prof文件(服务有压力的),但是浏览器中没有dot图(把code中的宏SOFA_PBRPC_PROFILING_SAMPLE_TIME改为100问题依然),查看服务端生成的prof文件,只有8908大小,无Node信息,请问这个是什么原因,如何解决哈?

image
image

@qinzuoyan
Copy link
Collaborator

@cyshi , 你看看是什么问题?

@zd-double
Copy link
Collaborator

需要确认下CPUPROFILE_FREQUENCY的环境变量,参考下需不需要libunwind,压力够不够。
https://www.cnblogs.com/likwo/archive/2012/12/20/2826988.html
http://blog.csdn.net/wind19/article/details/10381291

@CaesarTang
Copy link
Author

CaesarTang commented Nov 16, 2017

已尝试过CPUPROFILE_FREQUENCY环境变量设置为100,并链入linunwind库,压力服务的CPU在400%左右,可以还是没有dot,prof文件只有8908大小,请问还有其他原因吗?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants