You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/11/30 13:15:06 UTC

[GitHub] [dubbo] bootstrap2025 opened a new issue #9335: threadLocal 存在大量文本数据

bootstrap2025 opened a new issue #9335:
URL: https://github.com/apache/dubbo/issues/9335


   ![screenshot-20211130-210614](https://user-images.githubusercontent.com/9637974/144052824-4d22c91b-d4c1-40f4-8bed-b4c596dba25d.png)
   我这边发现一次内存泄漏引起的oom,然后我把dump 文件打出来看了下,dubbo 的200个线程里每个线程都存了 150k(打码部分)的数据,怀疑是因为这个导致引起的内存泄漏,然后这个数据是我们程序请求接口加载的大文本数据,数据是正常的,但是有些奇怪的是,不同接口的返回数据出现在一个threadLocal 里,导致threadLocal 值很大,于是我想问几个问题:
   1. 为什么线程threadLocal里会有这么多不同接口的数据? 这边线程不会remove掉数据吗?
   2. 我本地接口里没有调用threadLocal ,想咨询下什么情况下会把数据缓存到threadLocal里?


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ closed issue #9335: 系统OOM, dump文件里显示threadLocal 存在大量数据

Posted by GitBox <gi...@apache.org>.
AlbumenJ closed issue #9335:
URL: https://github.com/apache/dubbo/issues/9335


   


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #9335: 系统OOM, dump文件里显示threadLocal 存在大量数据

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #9335:
URL: https://github.com/apache/dubbo/issues/9335#issuecomment-998855045


   Dubbo 2.5.x is no longer maintained. Please try upgrade to the latest version.


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org