After add the Skywalking agent, the Java service was restarted #13631
Unanswered
ShepherdZFJ
asked this question in
Q&A
Replies: 1 comment 5 replies
-
|
Are you using an old version(before v9)? This config should be deprecated and removed. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
**question description:**Our Java application is deployed in k8s containers. After we introduced the Skywalking agent, we found that the Java application restarted in the early morning. The application had a large number of batch processing scheduled tasks at that time. The error message is as follows:

When we remove the Skywalking agent, the system will no longer restart. Otherwise, it restarts every morning. Therefore, we can rule out that it is caused by the memory issue of the Java application itself.
The startup parameters are as follows:
-javaagent:/skywalking/skywalking-agent/skywalking-agent.jar -Dskywalking.agent.service_name=service-name -Dskywalking.collector.backend_service=host:11800Amazingly, when I added the parameters:
-Dskywalking.agent.cache_class=trueEverything is ok!!!
But up to now, I still don't know why.
Has anyone encountered the same situation or do you know the reason?
THANKS
Beta Was this translation helpful? Give feedback.
All reactions