Skip to content

Commit 7dbefd3

Browse files
Merge pull request #313 from silversword411/main
Troubleshooting: Add heap size info
2 parents b5abe3e + e103818 commit 7dbefd3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/troubleshooting.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,3 +362,21 @@ Write-Output "Path after changing the type:", $path
362362
5. Restart services or run `update.sh --force`
363363

364364
54 year agents in the dashboard can be a sign of this NATS problem
365+
366+
## Server 2016/2019 agent not updating
367+
368+
If you're seeing things like
369+
370+
```log
371+
time="2025-03-17T01:02:11-07:00" level=error msg="error creating NewUpdateSession: ole.CoInitializeEx(0, ole.COINIT_MULTITHREADED): Cannot change thread mode after it is set."
372+
time="2025-04-30T09:28:47-07:00" level=error msg="SyncMeshNodeID() getMeshNodeID() exit status 0xc0000142: "
373+
time="2025-04-30T09:28:55-07:00" level=error msg="Checkrunner RunChecks exit status 0xc0000142: "
374+
time="2025-04-30T09:29:07-07:00" level=error msg="SyncMeshNodeID() getMeshNodeID() exit status 0xc0000142: "
375+
time="2025-04-30T09:29:54-07:00" level=error msg="Checkrunner RunChecks exit status 0xc0000142: "
376+
time="2025-04-30T09:30:46-07:00" level=error msg="Checkrunner RunChecks exit status 0xc0000142: "
377+
time="2025-04-30T09:35:07-07:00" level=info msg="Agent updating from 2.9.0 to 2.9.1"
378+
```
379+
380+
This is a problem with the non-interactive heap stack filling up. The default value is 768KB, and needs to be updated to 4MB.
381+
382+
[Microsoft KB](https://learn.microsoft.com/en-us/troubleshoot/windows-server/performance/desktop-heap-limitation-out-of-memory)

0 commit comments

Comments
 (0)