You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by "17336 (via GitHub)" <gi...@apache.org> on 2023/02/27 07:09:07 UTC

[I] heap profiler显示出现错误 (brpc)

17336 opened a new issue, #2138:
URL: https://github.com/apache/brpc/issues/2138

   cpu profiler 是可以正常使用的,heap profiler显示如下
   > [20230227.150700.heap]
   > Using local file bin/asr_service.
   > Argument "MSWin32" isn't numeric in numeric eq (==) at ./rpc_data/profiling/pprof.pl line 4898.
   > Argument "linux" isn't numeric in numeric eq (==) at ./rpc_data/profiling/pprof.pl line 4898.
   > Using local file ./rpc_data/profiling/f0a4ab390fd3f861ca4c4d1ae0a612ea/20230227.150700.heap.
   > Adjusting heap profiles for 1-in-524288 sampling rate
   > Heap version 2
   > No nodes to print
   
   


-- 
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: dev-unsubscribe@brpc.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


Re: [I] heap和contention profiler显示出现错误 (brpc)

Posted by "17336 (via GitHub)" <gi...@apache.org>.
17336 commented on issue #2138:
URL: https://github.com/apache/brpc/issues/2138#issuecomment-1449509178

   > @17336 可以去掉jemalloc的链接尝试下看看
   
   去掉了也还是不行


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


Re: [I] heap和contention profiler显示出现错误 (brpc)

Posted by "lorinlee (via GitHub)" <gi...@apache.org>.
lorinlee commented on issue #2138:
URL: https://github.com/apache/brpc/issues/2138#issuecomment-1448483752

   服务器上的版本是链接了tcmalloc吗


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


Re: [I] heap和contention profiler显示出现错误 (brpc)

Posted by "lorinlee (via GitHub)" <gi...@apache.org>.
lorinlee commented on issue #2138:
URL: https://github.com/apache/brpc/issues/2138#issuecomment-1451424967

   @17336 jemalloc可以用jemalloc自带的jeprof的


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


Re: [I] heap和contention profiler显示出现错误 (brpc)

Posted by "17336 (via GitHub)" <gi...@apache.org>.
17336 commented on issue #2138:
URL: https://github.com/apache/brpc/issues/2138#issuecomment-1449512676

   > @17336 可以去掉jemalloc的链接尝试下看看
   
   可以问下出现Argument "MSWin32" isn't numeric这个的原因嘛,感觉出在这个地方挺奇怪的


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


Re: [I] heap和contention profiler显示出现错误 (brpc)

Posted by "17336 (via GitHub)" <gi...@apache.org>.
17336 commented on issue #2138:
URL: https://github.com/apache/brpc/issues/2138#issuecomment-1449846562

   heap profiler有可能支持jemalloc吗


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


Re: [I] heap和contention profiler显示出现错误 (brpc)

Posted by "lorinlee (via GitHub)" <gi...@apache.org>.
lorinlee commented on issue #2138:
URL: https://github.com/apache/brpc/issues/2138#issuecomment-1449275726

   @17336 可以去掉jemalloc的链接尝试下看看


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


Re: [I] heap和contention profiler显示出现错误 (brpc)

Posted by "17336 (via GitHub)" <gi...@apache.org>.
17336 commented on issue #2138:
URL: https://github.com/apache/brpc/issues/2138#issuecomment-1449836972

   > @17336 可以去掉jemalloc的链接尝试下看看
   
   @lorinlee 请问目前只有cpu profiler能用jemalloc,heap不能用对吧?因为tcmalloc有瓶颈,线上服务只考虑用jemalloc


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


Re: [I] heap和contention profiler显示出现错误 (brpc)

Posted by "17336 (via GitHub)" <gi...@apache.org>.
17336 commented on issue #2138:
URL: https://github.com/apache/brpc/issues/2138#issuecomment-1449261364

   > 服务器上的版本是链接了tcmalloc吗
   @lorinlee 本地和服务器跑的是同一套代码,都链接了libtcmalloc_and_profiler.so.4,然后我发现还另外链接了libjemalloc.so.2这个库,是因为这个的原因吗(但是本地也链接了这个,却能看heap和contention)
   


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


Re: [I] heap和contention profiler显示出现错误 (brpc)

Posted by "17336 (via GitHub)" <gi...@apache.org>.
17336 commented on issue #2138:
URL: https://github.com/apache/brpc/issues/2138#issuecomment-1447806642

   我是将内置服务的代码插入到.a链接的,发现在本地跑heap和contention profiler可以正常使用,但是在服务器上跑就会出现上面的问题


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org