mirror of
https://github.com/hirschmann/nbfc.git
synced 2026-04-26 17:15:58 +03:00
[GH-ISSUE #1003] Service Status (in Windows Services) rapidly changes between "Starting" and "Running" and program doesn't work. #870
Labels
No labels
Stale
bug
config
discussion
duplicate
enhancement
experimental
feature
help-wanted
info
invalid
invalid
pull-request
question
up-for-grabs
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nbfc-hirschmann#870
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Dwedit on GitHub (Oct 12, 2020).
Original GitHub issue: https://github.com/hirschmann/nbfc/issues/1003
So, I'm setting the service rapidly switch between "Starting" and "Running" in the services manager. It's doing this every 2 seconds.
When I try to stop the service, I see this message:
Then I look at settings page, and see that it was repeatedly restarting itself on failure, and it left 4900+ events in the Event Log about being unable to start:
@Dwedit commented on GitHub (Oct 12, 2020):
After running the service in a debugger, I see this exception:
edit:
In this function, I see 7 sensors, all of which are type "Load" and not type "Temperature", so it sees no temperature sensors.
@Dwedit commented on GitHub (Oct 12, 2020):
It appears that "OpenHardwareMonitor" is out of date, it's 2 years behind the current version. I was able to get this working by copy-pasting in the newer Intel CPU code into "Plugins\OpenHardwareMonitor\Hardware\CPU\IntelCPU.cs"
@github-actions[bot] commented on GitHub (Apr 12, 2021):
This issue is stale because it has been open more than 180 days with no activity. If nobody comments within 7 days, this issue will be closed
@Dwedit commented on GitHub (Apr 14, 2021):
This was caused by the program throwing an exception, then the service manager restarting it repeatedly. So this is a symptom, not the underlying bug.