Does agent automatically recover after a crash? #7594
Closed
kubamaruszczak
started this conversation in
General
Replies: 1 comment 2 replies
-
|
I believe it should auto restart because the systemd that gets created tells it too, the only thing I can suggest is u need to add the extra values in the systemd that watch for high memory usage and if it goes say about 200mb then u have a leak so restart the service! This is critical at the moment until we can find the disconnect/reconnect memory leak problem |
Beta Was this translation helpful? Give feedback.
2 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.
-
I've recently discovered that some of my agents have crash logs in their

meshagent.logand I wonder if they auto-heal itself after crash or do I need to restart the meshagent service? I don't really know how to reproduce crash. Here is example of crash log:I'm asking because I'm trying to build auto-recovery solution for agents in my system. What would be the best practice to detect if agent is healthy and operational from agent perspective so I can restart it if needed? I tested that
./meshagent -stateis quite good way to tell if I can communicate to agent and if it's connected to the server or not.Beta Was this translation helpful? Give feedback.
All reactions