블로그 이미지
BJcomm
bjcomm

공지사항

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

글 보관함

calendar

1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
03-29 05:13

에러메세지

ORA-00020: 최대 프로세스 (%s) 수를 초과했습니다

ORA-00020: maximum number of processes (100)

원인

1. 프로그램 내에서 Connection 을 Close 해주지 않아서 오라클 프로세스가 계속 증가.

2. init.ora파일의 processes파라미터에서 정해진 프로세스 개수가 초과됨.

해결방법

1. 프로그램 내에서 Close 되지 않은 부분이 있는지 확인.

2. $ORACLE_HOME/pfile/init.ora 에서 processes 파라미터 값을 늘려 줌.


*실제 Session 확인

SQL> show parameter sessions

SQL> show parameter processes


SQL> select * from v$license;

SQL> select * from v$resource_limit;


SQL> select count(1) from V$SESSION;


SQL> select machine,osuser,program,count(1)

from V$SESSION

group by machine,osuser,program

order by machine,osuser,program;


SQL> select * from V$SESSION;