Solved

maximum number of processes (150) exceeded

Posted on 2003-12-06
10
2,434 Views
Last Modified: 2007-12-19
I am using oracle database and i get these error's :---
1) Dump file c:\kcoracle\ora92\admin\kcdata91\udump\kcdata91_ora_4440.trc
Sun Dec 07 08:27:51 2003
ORACLE V9.2.0.1.0 - Production vsnsta=0
vsnsql=12 vsnxtr=3
Windows 2000 Version 5.0 Service Pack 4, CPU type 586
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Windows 2000 Version 5.0 Service Pack 4, CPU type 586
Instance name: kcdata91

Redo thread mounted by this instance: 1

Oracle process number: 149

Windows thread id: 4440, image: ORACLE.EXE


*** SESSION ID:(145.1142) 2003-12-07 08:27:51.000
kxfpg1srv
        could not start local P001
Dump file c:\kcoracle\ora92\admin\kcdata91\udump\kcdata91_ora_4440.trc
Sun Dec 07 08:27:55 2003
ORACLE V9.2.0.1.0 - Production vsnsta=0
vsnsql=12 vsnxtr=3
Windows 2000 Version 5.0 Service Pack 4, CPU type 586
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Windows 2000 Version 5.0 Service Pack 4, CPU type 586
Instance name: kcdata91

Redo thread mounted by this instance: 1

Oracle process number: 147

Windows thread id: 4440, image: ORACLE.EXE


*** SESSION ID:(145.1144) 2003-12-07 08:27:55.000
kxfpg1srv
        could not start local P002
Dump file c:\kcoracle\ora92\admin\kcdata91\udump\kcdata91_ora_4440.trc
Sun Dec 07 08:27:59 2003
ORACLE V9.2.0.1.0 - Production vsnsta=0
vsnsql=12 vsnxtr=3
Windows 2000 Version 5.0 Service Pack 4, CPU type 586
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Windows 2000 Version 5.0 Service Pack 4, CPU type 586
Instance name: kcdata91

Redo thread mounted by this instance: 1

Oracle process number: 147

Windows thread id: 4440, image: ORACLE.EXE


*** SESSION ID:(145.1148) 2003-12-07 08:27:59.000
kxfpg1srv
        could not start local P002
kxfpg1srv
        could not start local P002
Dump file c:\kcoracle\ora92\admin\kcdata91\udump\kcdata91_ora_4440.trc
Sun Dec 07 08:28:19 2003
ORACLE V9.2.0.1.0 - Production vsnsta=0
vsnsql=12 vsnxtr=3
Windows 2000 Version 5.0 Service Pack 4, CPU type 586
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Windows 2000 Version 5.0 Service Pack 4, CPU type 586
Instance name: kcdata91

Redo thread mounted by this instance: 1

Oracle process number: 0

4440


OPIRIP: Uncaught error 447. Error stack:
ORA-00447: fatal error in background process
ORA-00020: maximum number of processes (150) exceeded

2)  Dump file c:\kcoracle\ora92\admin\kcdata91\udump\kcdata91_ora_5512.trc
Sun Dec 07 08:27:48 2003
ORACLE V9.2.0.1.0 - Production vsnsta=0
vsnsql=12 vsnxtr=3
Windows 2000 Version 5.0 Service Pack 4, CPU type 586
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Windows 2000 Version 5.0 Service Pack 4, CPU type 586
Instance name: kcdata91

Redo thread mounted by this instance: 1

Oracle process number: 147

Windows thread id: 5512, image: ORACLE.EXE


*** SESSION ID:(146.778) 2003-12-07 08:27:48.000
kxfpg1srv
        could not start local P002
0
Comment
Question by:fakhry
10 Comments
 
LVL 24

Accepted Solution

by:
shivsa earned 168 total points
Comment Utility
you could be having a problem either with the max processes exceeding or max cursors open.
You can easily increase the maximum number of process in your ORA file.(ora.ini)
But that would depend on how many users are going to access the application.
You also need to check the number of cursors open in the database as well. If you do see the cursors open the the database then you need to properly handle all connections in the code and close them.
0
 
LVL 24

Expert Comment

by:shivsa
Comment Utility
In case of Oracle JDBC even statements like INSERT, UPDATE, DELETE opens a cursor !!! Remeber to call close on statements i case of ResultSet use rs.getStatement().close()
0
 
LVL 24

Expert Comment

by:shivsa
Comment Utility
Also from
http://download-west.oracle.com/otn_hosted_doc/repository/doc_library/release4/messages/ora_messages.htm

here is the solution to the problem
=============================
ORA-00020, 00000, "maximum number of processes (%s) exceeded"
Cause:  All process state objects are in use
Action: Increase  maximum processes - init.ora parameter "processes"

=========================================
0
 
LVL 13

Assisted Solution

by:anand_2000v
anand_2000v earned 166 total points
Comment Utility
In any case increase your PROCESSES parameter in the init file
0
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.

 
LVL 23

Assisted Solution

by:seazodiac
seazodiac earned 166 total points
Comment Utility
ORA-00447: fatal error in background process
ORA-00020: maximum number of processes (150) exceeded

This probably means that Oracle server cannot even start fully with all the background processes.

two questions:

1. how much Physical memory does your machine have?
2. how big is your max_sga_size?

show the contents of your init<sid>.ora file?
0
 
LVL 47

Expert Comment

by:schwertner
Comment Utility
Increase PROCESSES parameter in the SPFILE.
If you can not stsart the instance, find the pfile.ora, make the changes and start the instance
SQL>startup pfile=c:\........\init<sid>.ora

At the startup time Oracle starts only limited number of processes - between 9 and 15. So it seems that a process consuming application immediatelly connects to Oracle. This may be an application server or a farm of app. servers.
0
 
LVL 1

Expert Comment

by:edvinkv
Comment Utility
Pls reduce the parallell query processes to fix this issue. (Reduce it by half)


in the init.ora file.. also pls restart the database.

max_parallel_servers=
min_parallel_servers=0 (or you may reduce this also by half)

0
 

Expert Comment

by:sagacious
Comment Utility
Increase the number of processes of your oracle server...

Go into the console and manage it. But if you are hit with this problem, you should check your codes as this derives mainly from connections opened and not closed and things just accumulate and stops there.

Sagacious
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

Suggested Solutions

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
This video shows how to recover a database from a user managed backup
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

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

12 Experts available now in Live!

Get 1:1 Help Now