Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Orcl_Error_ORA_12520.

Posted on 2011-09-02
6
Medium Priority
?
281 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
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.

610 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