Hi @Alexei Konoferchuk ,
I had a similar issue in Caché 2012 on a Windows enviroment. I my case I got a different error code, but the same error description:
System.Data.Odbc.OdbcException (0x80131937): ERROR [08S01] [Cache ODBC][State : 08S01][Native Code 461]
Falhou a conexão via cconnect:
TCP connect() failed - exception satisfied select().
Reason: (10061, 0x274d) No connection could be made because the target machine actively refused it.
Note that the Native Code 461 is a returned exception from the Intersytems ODBC driver, but the error message is thrown by Windows TCP. That means that we have to understand why this code is different for your scenario, but this Windows message has some known reasons:
- If Windows is up, but Caché service isn't;
- You reached one of Windows TCP limit (check this link for more discussion about);
- The CPU workload is too heavy and can't process the new TCP connection, resulting in a full TCP backlog (check this link for more);
- There are network issues, like a misconfigured virtual IP or a duplicate IP address that could make the ODBC request reach a wrong server and reach the case number one.
So you will have to understand if you a reaching one of those scenarios. If you have a high CPU usage, maybe you are possibily entering in the case number 3. I would check the CPU queue length (using Perfmon) to confirm. If you there are just workload peaks, then a Windows TCP tunning and a backlog extension in Caché could help you. If this is a common case, then you will have to check your CPU resources.
In the fourth case, you would have others ODBC errors before get this error...
Sorry about my bad english! Good luck!