You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2020/09/21 02:51:25 UTC

[GitHub] [incubator-brpc] GOGOYAO opened a new issue #1250: 关于process_cpu_usage明显大于bthread_worker_usage的情况

GOGOYAO opened a new issue #1250:
URL: https://github.com/apache/incubator-brpc/issues/1250


   **Describe the bug (描述bug)**
   在《高效率排查server卡顿》中,可以有以下方法进行排查
   
   但是如果出现如下 process_cpu_usage明显大于bthread_worker_usage的情况,这个应该怎么分析呢。
   
   
   
   **To Reproduce (复现方法)**
   
   
   **Expected behavior (期望行为)**
   
   
   **Versions (各种版本)**
   OS: centos7
   Compiler: gcc 8
   brpc: 11da9c8
   protobuf: 3.11
   
   **Additional context/screenshots (更多上下文/截图)**
   
   


----------------------------------------------------------------
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.

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


[GitHub] [incubator-brpc] GOGOYAO commented on issue #1250: 关于process_cpu_usage明显大于bthread_worker_usage的情况

Posted by GitBox <gi...@apache.org>.
GOGOYAO commented on issue #1250:
URL: https://github.com/apache/incubator-brpc/issues/1250#issuecomment-695883475


   明白。感谢


----------------------------------------------------------------
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.

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


[GitHub] [incubator-brpc] gydong commented on issue #1250: 关于process_cpu_usage明显大于bthread_worker_usage的情况

Posted by GitBox <gi...@apache.org>.
gydong commented on issue #1250:
URL: https://github.com/apache/incubator-brpc/issues/1250#issuecomment-695882394


   说明你的进程大部分计算不是运行在brpc框架内,可能有其他的线程计算比较密集,比如rdkafka和faiss这种库都是有自己的线程池的,他们不占用brpc的worker线程但却是占用CPU


----------------------------------------------------------------
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.

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


[GitHub] [incubator-brpc] GOGOYAO closed issue #1250: 关于process_cpu_usage明显大于bthread_worker_usage的情况

Posted by GitBox <gi...@apache.org>.
GOGOYAO closed issue #1250:
URL: https://github.com/apache/incubator-brpc/issues/1250


   


----------------------------------------------------------------
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.

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


[GitHub] [incubator-brpc] gydong commented on issue #1250: 关于process_cpu_usage明显大于bthread_worker_usage的情况

Posted by GitBox <gi...@apache.org>.
gydong commented on issue #1250:
URL: https://github.com/apache/incubator-brpc/issues/1250#issuecomment-695882394


   说明你的进程大部分计算不是运行在brpc框架内,可能有其他的线程计算比较密集,比如rdkafka和faiss这种库都是有自己的线程池的,他们不占用brpc的worker线程但却是占用CPU


----------------------------------------------------------------
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.

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


[GitHub] [incubator-brpc] GOGOYAO commented on issue #1250: 关于process_cpu_usage明显大于bthread_worker_usage的情况

Posted by GitBox <gi...@apache.org>.
GOGOYAO commented on issue #1250:
URL: https://github.com/apache/incubator-brpc/issues/1250#issuecomment-695883475


   明白。感谢


----------------------------------------------------------------
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.

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


[GitHub] [incubator-brpc] GOGOYAO closed issue #1250: 关于process_cpu_usage明显大于bthread_worker_usage的情况

Posted by GitBox <gi...@apache.org>.
GOGOYAO closed issue #1250:
URL: https://github.com/apache/incubator-brpc/issues/1250


   


----------------------------------------------------------------
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.

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