Solved

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

Posted on 2015-02-03
5
353 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
Comment Utility
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
Comment Utility
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
Comment Utility
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)
Comment Utility
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.

Join & Write a Comment

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

772 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now