-
Search before asking
Apache SkyWalking ComponentJava Agent (apache/skywalking-java) What happenedIn my program, there is a xxlJob task that takes a long time to execute. In this task, there is a loop that queries the database and asynchronously sends MQ messages. Due to an MQ exception, the thread pool that asynchronously sends MQ messages experiences message backlog, triggering the rejection strategy of the thread pool. As a result, a large number of tasks that send messages are rejected. At this time, OOM is sent. Upon checking the dump log, I found a large number of Skywalking Log DataEntity and KeyValuePair in it What you expected to happenIn the above situation, the problem will not occur How to reproduce
Anything elseNo response Are you willing to submit a pull request to fix on your own?
Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
|
I don't think this is a proper case for tracing endless task. |
Beta Was this translation helpful? Give feedback.
I want to fix and solve this problem
apache/skywalking-java#773