-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Agent] "Metricbeat" service crashed on restarting elastic-agent, want improved beat side logging to inform user #25785
Comments
Pinging @elastic/fleet (Team:Fleet) |
@dikshachauhan-qasource Please review. |
Reviewed and assigned to @EricDavisX |
Pinging @elastic/agent (Team:Agent) |
cannot reproduce, nor darwin nor windows, used same version. could i get content of |
also if possible maybe whole |
Sure @michalpristas as per request I will share all the required details on slack. |
there was an orphaned metricbeat process blocking data path, when agent was stopped it was not stopped with agent and continue running eating a lot of RAM (2.5gb) when i killed this process issue went away. we should find out why orphaned metricbeat was even created and could possibly isolate data paths more. but i think it's good to know you have such a process by seeing agent complaining rather that have multiple beats running and eating resources |
@michalpristas thanks for the thoughts. do you think we can check for the data path being in use at start up and put more specific error logging into place to help guide users / devs about this particular undesired occurrence? we could use this ticket for that for now. @amolnater-qasource if you were doing regular operations / test steps, lets put some time to figuring out which specific steps caused this and log a new ticket, i expect the description would be 'after doing xyz Agent is shutdown but metricbeat is orphaned and still running' |
this is internal logic of beats and i would like to avoid having checks like this in agent. cc @urso |
Hi @EricDavisX Thanks |
I've updated the short desc and modified the labels, it is not urgent for 7.13 to improve the logging - the other ticket logged, noted above is high priority for self-managed usage and is tagged for 7.13.1 review (usual urgent issues review process) |
Hi @EricDavisX Build Details:
Steps followed:
Observations: Hence closing this out. Thanks |
Hi @michalpristas
Build details:
Logs: Please let us know if anything else is required from our end. |
Kibana version: 7.13.0 BC-7 Kibana self-managed environment
Host OS and Browser version: Windows 10 x64, All
Build Details:
Preconditions:
Steps to reproduce:
Expected Result:
[Self managed]: "Metricbeat" service should be in "Running" state on restarting elastic-agent.
Logs:
logs.zip
Screenshot:
The text was updated successfully, but these errors were encountered: