Identifying the right max proceesses value
Hello everyone.
We've got a RAC installation over oracle linux. Sometimes, the main app using this database experience the following errors:
Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLException: ora-12516 tns listener could not find available handler with matching protocol stack
Or
Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLException:r
ORA-12520: TNS:listener could not find available handler for requested type of server
We've noticed that there are lots, like 12k, of TIME-WAIT processes on both servers of the RAC. As well, we've performed an increase in the maximum number of procesess by: