Product: PowerShell Universal
Version: 2026.1.5
Hello everyone, I currently have a (serious) problem with a dispatcher script that throws errors when executing around 150 scripts, for some of them:
Status(StatusCode="Unknown", Detail="Exception was thrown by handler.", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1778133607.433000000","description":"Error received from peer ipv6:[::1]:50383","file":"..\..\..\src\core\lib\surface\call.cc","file_line":953,"grpc_message":"Exception was thrown by handler.","grpc_status":2}")
Failed to check concurrency limits.: SQLite Error 5: 'database is locked'. ,
Status(StatusCode="Unknown", Detail="Exception was thrown by handler. SqliteException: SQLite Error 5: 'database is locked'.")
and
SQLite Error 5: 'database is locked' .
It is only a handful of scripts, but this could cause major issues in the production environment.
For executing the 150 scripts I use several predefined caches, which save me from constantly querying Active Directory. I have already limited the maximum number of parallel executions to 5. The whole setup runs on IIS and PowerShell 7.
I hope someone can help me as soon as possible.
Should i enable the IIS advanced setting property “Disable Overlapped Recycle” from “false” to “true”?