首页 > 代码库 > ORA-00020: maximum number of processes (300) exceeded
ORA-00020: maximum number of processes (300) exceeded
SQL> select count(*) from v$session;
COUNT(*)
----------
98
SQL> select count(*) from v$process;
COUNT(*)
----------
99
more odsprod.log
目前系统正常
检查结果如下:
系统的进程树最大150.
当前系统连接数目如下:
SQL> select count(*) from v$session;
COUNT(*)
----------
98
SQL> select count(*) from v$process;
COUNT(*)
----------
99
问题时间段发起的新连接检查数据库监听日志:
发现问题时间段以下ip 发起了大量连接。
07-JUN-2017 08:23:04 * (CONNECT_DATA=http://www.mamicode.com/(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=einvuat))(SID=odsprod)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.63.68)(PORT=13923)) * establish * odsprod * 0
07-JUN-2017 08:23:04 * (CONNECT_DATA=http://www.mamicode.com/(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=einvprod))(SID=odsprod)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.4.127)(PORT=23356)) * establish * odsprod * 0
请应用也检查下。
ORA-00020: maximum number of processes (300) exceeded