-
Task
-
Resolution: Done
-
Normal
-
None
-
None
-
Quality / Stability / Reliability
-
1
-
False
-
-
False
-
-
-
None
In MTA 8.0.0 we need to add a release note that concurrent usage of the Solution Server may lead to idle connections not being freed.
Example of an error:
asyncpg.exceptions.TooManyConnectionsError: sorry, too many clients already
[09/29/25 09:39:25] ERROR Error calling tool 'create_incident': sorry, too many clients already tool_manager.py:140
Manual Workaround to set an idle connection timeout:
oc -n <mta namespace> exec deploy/kai-db – psql -U postgres -d postgres -c "ALTER ROLE kai SET idle_session_timeout = '1min'; ALTER ROLE kai SET idle_in_transaction_session_timeout = '1min';"
- is related to
-
MTA-6205 Document known issue and workaround for: Solution Server needs to improve handling of idle connections
-
- Closed
-