1.问题现象 1)登陆时的报错 [oracle@secdb1 ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Jul 24 20:01:10 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR: ORA-01075: you are currently logged on
2)即便登陆成功在执行SQL命令的时候一样会收到报错 sys@secdb> select * from dual; select * from dual * ERROR at line 1: ORA-00604: error occurred at recursive SQL level 1 ORA-00018: maximum number of sessions exceeded
2.问题分析 单纯从ORA-01075报错信息本身无法定位问题。 从alert日志中发现“ORA-00018: maximum number of sessions exceeded”报错信息。细查之后发现此时后台出现大量的归档进程,而且数据库中的processes=50,是由于超出了session限制导致的这个报错。