| Previous | Next |
| PEERDIST_ERROR_ALREADY_INITIALIZED | PEERDIST_ERROR_INVALIDATED |
PEERDIST_ERROR_SHUTDOWN_IN_PROGRESS
A shutdown operation is already in progress.
PEERDIST_ERROR_SHUTDOWN_IN_PROGRESS is Win32 error 4056 (0xFD8) and belongs to Peer Distribution and BranchCache service or object teardown.
Troubleshooting steps
- Record shutdown initiator, outstanding handles, active requests, and service state.
- Record the exact PeerDist function involved in service or object teardown.
What to verify
Verify whether a new PeerDist operation arrived while shutdown was already draining active work. Check shutdown initiator, outstanding handles, active requests, and service state; record the exact PeerDist function involved in service or object teardown.
Handling, retry, and recovery
Stop accepting new work, wait for documented shutdown completion, then create a fresh object or restart the service if required.
Difference from nearby codes
PEERDIST_ERROR_SERVICE_UNAVAILABLE can occur during startup; this code specifically identifies teardown.
Practical example
A service stop races with a late content request; request admission closes before shutdown starts, eliminating the race.
References
- Microsoft: System Error Codes (4000–5999) — reference for error 4056.
- Microsoft: Peer Distribution API — reference for error 4056.
- Microsoft: peerdist.h API reference — reference for error 4056.
- Microsoft: BranchCache — reference for error 4056.
Looking for a different code? Search another status or error code.