I have a setup where 180 jobs try to access oracle at the same time, i.e. they don't close connections quickly because they may be waiting for e.g. an ftp connection to open.
From oracle, I get the error:
Listener refused the connection with the following error:
ORA-12520, TNS:listener could not find available handler for requested type of server
I believe this is due to too many connections open. This also affects the GUI of the application, which refuses login.
How can I determine a safe number of jobs to execute at the same time?
How should I handle the error? I tried to handle it by sleeping and retrying, but the only effect of this seems to be a that the TNS listener is always saturated and that the number of concurrently running jobs increases to 180.