리눅스 문서
ORA-00020: maximum number of processes (%s) exceeded
bjcomm
2014. 11. 25. 17:50
에러메세지
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;