?
Solved

Orcl_Error_ORA_12520.

Posted on 2011-09-02
6
Medium Priority
?
269 Views
Last Modified: 2012-05-12
We have a SAP client that runs batch processes against oracle.
Recently we noticed

OCI call <OCIServer Attach> for connection <tips> failed: <ORA-12520: TNS: listener could not find available handler for requested type of server.

Is this related to number of connections allowed in PROCESSES parameter?

Any ideas for troubleshootng and resolving.
0
Comment
Question by:sam15
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 36475507
I assume you have looked at the cause and action for this error:
http://ora-12520.ora-code.com/

Maxing out processes might cause this.  When you receive this error how many connections are there and what is processes set at?
0
 

Author Comment

by:sam15
ID: 36475648
I looked at this whioh does not sound it is related to number of connections
http://download.oracle.com/docs/cd/B14117_01/network.101/b10775/troublestng.htm#CEGJGEEC

Processes=150

and normally number of session is about 100.

Does oracle count inactive processes as part of the 150 max? Someone said there is a bunch of dead unix processes showing. Does oracle normally kill the server processes after they are idle or certain time or it keeps it as long as a client is there.
0
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 2000 total points
ID: 36476211
If they aren't in v$session then they aren't counted.

Oracle is supposed to clean up 'dead' connections but there have been several 'features' where connections are not recognized as dead and are left around.

150 is pretty low.  I would go ahead and increase it just for grins.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:sam15
ID: 36476461
so it counts INACTIVE sessions as part of the 150.
How does oracle clean up the dead connections/sessions? is there a parameter to make this faster?

Also, i found out they are not using Connection ppoling. Can this be setup in the oracle client or this is something the client application has to do?
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 36476715
I ran into issues in an ASP setup many years ago where the connections were not 'disposed' and Oracle would still see them as active and not clean them up.

I'm not sure of any setting that will detect these faster or more accurately.

Pooling can help but not if the app properly disposes of old connections.  If not, once the pool fills up, new connections will be created and you will have the same issue.
0
 

Author Comment

by:sam15
ID: 36476748
but where do you set the connection pooling? is it using the client application or the oracle client config file?

According to this

http://www.orafaq.com/wiki/SQL*Net_FAQ

http://www.orafaq.com/wiki/Sqlnet.ora#sqlnet.expire_time


I am not sure if configuring SQLNET.EXPIRE_TIME to 1 minute will help or setting up prespawned servers or multiple listeners.

or is it simplu bumping up the PROCESSES prameter
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question