2396
ORA-02396: exceeded maximum idle time, please connect again
0
insert into agent_task(TASK_ID,TYPE,CREATED_TIME,RELATION_OBJECT_ID) values(TASK_ID.nextval,1,sysdate,7364794)
如果dba修改了dba_profile中的idle_time默认值,将会对连接进行一定的限制
但有时却很莫名地错,有很多进程的状态是inactive,却不正常退出,解决
办法是取消该限制一段时间,然后再限制就可以解决一些问题,从metalink
上查,这是一个8i的bug,为什么在9.2.0.4中还有呢?
sql>alter profile default limit idle_time unlimited;
等待一会
sql>alter profile default limit idle_time 16;
SQL> select * from dba_profiles;
SQL> select * from dba_profiles;
PROFILE RESOURCE_NAME RESOURCE LIMIT
------------------------------ -------------------------------- -------- ----------------------------------------
DEFAULT COMPOSITE_LIMIT KERNEL UNLIMITED
DEFAULT SESSIONS_PER_USER KERNEL UNLIMITED
DEFAULT CPU_PER_SESSION KERNEL UNLIMITED
DEFAULT CPU_PER_CALL KERNEL UNLIMITED
DEFAULT LOGICAL_READS_PER_SESSION KERNEL UNLIMITED
DEFAULT LOGICAL_READS_PER_CALL KERNEL 300000
DEFAULT IDLE_TIME KERNEL 16
DEFAULT CONNECT_TIME KERNEL UNLIMITED
DEFAULT PRIVATE_SGA KERNEL UNLIMITED
DEFAULT FAILED_LOGIN_ATTEMPTS PASSWORD 3
DEFAULT PASSWORD_LIFE_TIME PASSWORD UNLIMITED
DEFAULT PASSWORD_REUSE_TIME PASSWORD UNLIMITED
DEFAULT PASSWORD_REUSE_MAX PASSWORD UNLIMITED
DEFAULT PASSWORD_VERIFY_FUNCTION PASSWORD NULL
DEFAULT PASSWORD_LOCK_TIME PASSWORD UNLIMITED
DEFAULT PASSWORD_GRACE_TIME PASSWORD UNLIMITED