Repository navigation
Topic request: Triage a Windows CPU spike after the worker exits #39
izikipizi
started this conversation in
Topic Requests
Replies: 0 comments
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.
Could you do a practical segment on Windows CPU spikes where the service is still running but the worker that did the work has already exited?
In a local Windows test, I launched a short-lived worker, checked its PID, parent PID and start time, then let it exit. The parent was still there on the next sample. At that point the worker's CPU delta was unknown. Comparing the parent's CPU across the same interval could not recover it, and matching a new worker by name could mix two process lifetimes.
A segment could show when two snapshots and a job timestamp are enough, and when you need to start a short CPU trace before the next scheduled job. I'd especially like to hear what evidence you keep before approving a restart on a production endpoint.
I'm Kip Ecklund, founder of Nizlo. We published a free checklist with the worked example. Microsoft's process identity reference explains why parent PIDs need a creation-time check.
All reactions