Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-00020: maximum number of processes 1000 exceeded

DelmonteJul 31 2012 — edited Jul 31 2012
Hello,

Oracle 10.2.0.4.0
O/S: Windows Server 2003-64 bits
RAM: 32Gb
Instance: opext

show SGA

Total System Global Area 10284433408 bytes
Fixed Size 2180960 bytes
Variable Size 1574353056 bytes
Database Buffers 8690597888 bytes
Redo Buffers 17301504 bytes

Today at 8:01 am we've got this error:
ORA-00020: maximum number of processes 1000 exceeded

That incident was reported in a trace file (opext_ora_8240.trc):
Dump file c:\oracle\product\10.2.0\admin\opext\bdump\opext_ora_8240.trc
Tue Jul 31 08:01:03 2012
ORACLE V10.2.0.4.0 - 64bit Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
Windows NT Version V5.2 Service Pack 2
CPU : 8 - type 8664, 1 Physical Cores
Process Affinity : 0x0000000000000000
Memory (Avail/Total): Ph:18773M/32767M, Ph+PgF:66964M/80966M
Instance name: opext

Redo thread mounted by this instance: 1

Oracle process number: 0

Windows thread id: 8240, image: ORACLE.EXE


ORA-00020: maximum number of processes 1000 exceeded
Died during process startup with error 20 (seq=212441)
OPIRIP: Uncaught error 20. Error stack:
ORA-00020: maximum number of processes (1000) exceeded
This was the first time in three years that happened an incident like this. Due my Windows server allows me to setup processes and sessions with a very high value, I did it when configuring this database for the first time.
select resource_name,initial_allocation, limit_value from V$RESOURCE_LIMIT;

RESOURCE_NAME INITIAL_ALLOCATION LIMIT_VALUE
processes 1000 1000
sessions 1105 1105
transactions 1215 UNLIMITED
I would like to know what application or process made that my database exceeds 1000 processes. I read that one possiblity is that there's a web app that open many connections to database and doesn't close them.

In my listener.log, I got this at 08:05 am:

31-JUL-2012 08:05:41 * service_update * opext * 0
31-JUL-2012 08:05:47 * (CONNECT_DATA=(SERVICE_NAME=opext)(CID=(PROGRAM=c:\windows\system32\inetsrv\w3wp.exe)(HOST=SRVXXX)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.1)(PORT=36578)) * establish * opext * 0
31-JUL-2012 08:05:47 * service_update * opext * 0
31-JUL-2012 08:05:47 * (CONNECT_DATA=(SERVICE_NAME=opext)(CID=(PROGRAM=c:\windows\system32\inetsrv\w3wp.exe)(HOST=SRVXXX)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.1)(PORT=36579)) * establish * opext * 0
31-JUL-2012 08:05:47 * (CONNECT_DATA=(SERVICE_NAME=opext)(CID=(PROGRAM=c:\windows\system32\inetsrv\w3wp.exe)(HOST=SRVXXX)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.1)(PORT=36580)) * establish * opext * 0
31-JUL-2012 08:05:47 * (CONNECT_DATA=(SERVICE_NAME=opext)(CID=(PROGRAM=c:\windows\system32\inetsrv\w3wp.exe)(HOST=SRVXXX)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.1)(PORT=36581)) * establish * opext * 0
31-JUL-2012 08:05:47 * (CONNECT_DATA=(SERVICE_NAME=opext)(CID=(PROGRAM=c:\windows\system32\inetsrv\w3wp.exe)(HOST=SRVXXX)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.1)(PORT=36582)) * establish * opext * 0
31-JUL-2012 08:05:47 * (CONNECT_DATA=(SERVICE_NAME=opext)(CID=(PROGRAM=c:\windows\system32\inetsrv\w3wp.exe)(HOST=SRVXXX)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.1)(PORT=36583)) * establish * opext * 0
31-JUL-2012 08:05:47 * (CONNECT_DATA=(SERVICE_NAME=opext)(CID=(PROGRAM=c:\windows\system32\inetsrv\w3wp.exe)(HOST=SRVXXX)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.1)(PORT=36584)) * establish * opext * 12518
TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error

Host SRVXXX is a server where a web app is and 192.168.1.1 is our firewall. May I think that this server was the one that made so many connections?
I checked alert.log, trc file and listener.log. What else can I check to determine what was the cause of this incident?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 28 2012
Added on Jul 31 2012
2 comments
936 views