Skip to content
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

windows_exporter.exe (0.30.2) is slow in ending when the service gets stopped #1869

Open
kago-dk opened this issue Feb 4, 2025 · 3 comments · May be fixed by #1870
Open

windows_exporter.exe (0.30.2) is slow in ending when the service gets stopped #1869

kago-dk opened this issue Feb 4, 2025 · 3 comments · May be fixed by #1870

Comments

@kago-dk
Copy link

kago-dk commented Feb 4, 2025

Problem Statement

I have noticed windows_exporter.exe (0.30.2) is slow in ending when the service gets stopped.

  • Stopping Windows Exporter service in Service Manager
  • windows_exporter.exe hangs around in Task Manager for another 30 seconds.

Any idea if it is intended and expected? I did not see similar behavior pre-0.30.

Environment

  • windows_exporter Version: 0.30.2
  • Windows Server Version: 2022
@jkroepke
Copy link
Member

jkroepke commented Feb 4, 2025

could you observe any logs in event log, after stopping the service?

@kago-dk
Copy link
Author

kago-dk commented Feb 5, 2025

The last three entries I see in Event Viewer are:

  • service stop received - at 7:21:02
  • time=2025-02-05T03:21:02.667Z level=INFO source=main.go:275 msg="Shutting down windows_exporter via service control" - at 7:21:02
  • time=2025-02-05T03:21:02.668Z level=INFO source=main.go:291 msg="windows_exporter has shut down" - at 7:21:02

The windows_exporter.exe disappeared from the task manager at 7:21:31.

@jkroepke
Copy link
Member

jkroepke commented Feb 5, 2025

thanks, that helps a bit. I will look it, but it may take some time.

@jkroepke jkroepke linked a pull request Feb 6, 2025 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants