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

cmd/scollector: enable SWbemServices worker for better WMI performance in Windows #2028

Merged
merged 3 commits into from
Mar 1, 2017

Conversation

gbrayut
Copy link
Contributor

@gbrayut gbrayut commented Feb 21, 2017

This updates the WMI package to include the SWbemServices updates from StackExchange/wmi#23

I plan on testing this in our environment to make sure things are stable. Shouldn't cause any issues as everything is behind the UseSWbemServicesClient = true value in scollector.toml

…om win_service_main()

This should prevent the service startup errors we were seeing indicating it was being unresponsive
…ent = true in toml file. Also add expvars when pprof is enabled.
…ngs. Use __no_name__ if c_dsc_status collector has any NULL ConfigurationName values
@gbrayut
Copy link
Contributor Author

gbrayut commented Mar 1, 2017

We didn't find any issues when testing, and this has been rolled out to all our Windows servers now. The default is still using the old code, you still have to specify UseSWbemServicesClient = true to use the new code. In the future we may change that to be the default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant