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 2021/12/08 13:32:13 UTC
[GitHub] [incubator-brpc] wengduo opened a new issue #1628: cpu profile显示不出来
wengduo opened a new issue #1628:
URL: https://github.com/apache/incubator-brpc/issues/1628
将main.cpp里面对象池初始化的代码注释掉后cpu profile可以显示,不注释就显示不了,web页面也没有报任何错误,服务会重启。如果不跑cpu profile,服务处理可以正常处理请求。
**To Reproduce (复现方法)**
我们的对象池占内存比较大,是作为ctx用的,将其存在stack里面,每次请求从里面拿一个,是不是内存过大导致的?能帮解答下吗?谢谢~
**Expected behavior (期望行为)**
**Versions (各种版本)**
OS:
Compiler:
brpc:
protobuf:
**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.
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
[GitHub] [incubator-brpc] cdjingit commented on issue #1628: cpu profile显示不出来
Posted by GitBox <gi...@apache.org>.
cdjingit commented on issue #1628:
URL: https://github.com/apache/incubator-brpc/issues/1628#issuecomment-993224338
重启的原因是什么?段错误?
--
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
[GitHub] [incubator-brpc] wengduo commented on issue #1628: cpu profile显示不出来
Posted by GitBox <gi...@apache.org>.
wengduo commented on issue #1628:
URL: https://github.com/apache/incubator-brpc/issues/1628#issuecomment-993350799
原因找到了,fork后,系统oom了,我这个服务内存占比比较高~
发自我的iPhone
> 在 2021年12月14日,15:11,caidj ***@***.***> 写道:
>
>
> 重启的原因是什么?段错误?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub, or unsubscribe.
> Triage notifications on the go with GitHub Mobile for iOS or Android.
--
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
[GitHub] [incubator-brpc] cdjingit closed issue #1628: cpu profile显示不出来
Posted by GitBox <gi...@apache.org>.
cdjingit closed issue #1628:
URL: https://github.com/apache/incubator-brpc/issues/1628
--
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