Solved

Question about Oracle Database "ORA-00020: maximum number of process 1000 exceeded"

Posted on 2015-02-03
5
373 Views
Last Modified: 2015-02-03
Hi Experts, Today we received a Alert from our Oracle Database by saying "maximum number of process 1000 exceeded". Once I checked Oracle Alert log I noticed below error was there.

"ORA-00020: maximum number of process 1000 exceeded"

(1). May I know the possible all reasons for this error ?
(2). And we are using Weblogic as midleware. How do i think about this ORA-00020 error with Weblogic level ?

Thank You
0
Comment
Question by:uompradeep
  • 2
5 Comments
 
LVL 8

Expert Comment

by:Naitik Gamit
ID: 40585792
The ORA-00020 is a serious production error because a user cannot connect.
 
The ORA-00020 is caused by two things:  

1->Disconnected processes:  Rogue “zombie” connections  to Oracle that are idle (not working).  To fix this, use the ALTER SYSTEM KILL command.  You may also need to kill session at the OS level with the KILL -9 or the ORAKILL command.  

2->Too few process buckets:  Oracle limits the number of connected processes with the processes parameter, and you may get the ORA-00020 error as the natural result in growth of system usage.

To fix this, increase the processes parameter, usually doubling the value to allow for future growth.  




The OERR command shows these details for the ORA-00020 error:

ORA-00020: maximum number of processes (string) exceeded

Cause: All process state objects are in use.  

Action: Increase the value of the PROCESSES initialization parameter

Simply increase your processes parameter and you are all set!  
0
 

Author Comment

by:uompradeep
ID: 40585912
Hello Naitik Gamit,

Thank You very much for your clear answer.
I need to get little bit more understanding about 1st reason.

In there, you have mentioned that
1st Point : "ALTER SYSTEM KILL command" can be used kill the idle (zombie) processes.
2nd Point : And later you have mentioned after that "we may need to kill sessions at OS level as well"

My Questions are,
(1). Does it mean,  we need to kill those processes from both level DB & OS  & is it  Compulsory ?
(2). Once server is shared for multiple databases, How do we identify the idle processes which related to the issue in OS Level ?

Thank You in advance,
Pradeep.
0
 
LVL 8

Accepted Solution

by:
Naitik Gamit earned 500 total points
ID: 40585939
Yes it is compulsory at both level DB & OS.please refer this links for more details

http://www.dba-oracle.com/t_ault_25_dbms_sql_alter.htm

http://www.dba-oracle.com/concepts/killing_side.htm
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 40586112
Killing sessions can be dangerous and should only be done as a last resort.

Exceeding 1000 processes can just be normal for your system.  I would start by increasing the processes parameter to more that what is expected by the applications using the database.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
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.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

810 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