damp-salesclerk-26574
01/08/2024, 9:00 AMmsg=No valid session found. audience=audit error=map[message:unable to fetch records: FATAL: query_wait_timeout (SQLSTATE 08P01) stack_trace:
We investigated and it seems that database connections were being used up and seemingly not re-used.
We managed to work around this by setting max_idle_conns=0
in the DSN which fixed the behaviour.
My question is, has anyone seen this behaviour before and is there an explanation anywhere for this behaviour? The default value which mirrors the CPU cores seems to be dangerous in that it stops our kratos setup in it’s tracks!damp-salesclerk-26574
01/10/2024, 11:57 AMfaint-insurance-61054
03/27/2024, 3:56 PMdamp-salesclerk-26574
03/27/2024, 5:55 PM