Re: too many session open and you can't log in?

  • From: ryan_gaffuri@xxxxxxxxxxx
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Fri, 16 Mar 2007 13:59:28 +0000

10.2.0.1 no logon trigger.

the peculiar thing is that the AWR background job that runs once an hour did 
not run when we could not log on. That tells me its a memory issue. which tells 
me its a code issue. Which does not get me much closer to fixing it... 

-------------- Original message -------------- 
From: rjamya <rjamya@xxxxxxxxx> 

What about using os debugger to connect to an existing process, dump 
hanganalyze (or systemstate and then run ass.awk on it) to see the root cause 
and start killing from that point onwards rather than shooting the whole system 
down? In wither case a systemstate would be useful for a post-martem. 

I also noticed that in 10203 (and perhaps in 10202), the scheduler uses 
internal_quiesce resource plan, activated it at 10pm and then you see lot of 
sessions (which appear hung) waiting on 'resmgr:become active' wait event. In 
this case, the solution is a simple alter system to set the resource manager 
plan to a null value. 

Since Ryan didn't mention version, I don't know if it is his problem.

Another situation I have seen when things do get hung is when a logon trigger 
goes invalid and before it is validated by a dba, incoming sessions do try to 
compile it and since (usually) they don't have privs to compile logon triggers, 
everything seems to hang. Personally I have experienced this in 9204. 

rjamya

 
On 3/15/07, Dennis Williams <oracledba.williams@xxxxxxxxx > wrote: 
Ryan,

You might try logging in with sqlplus '/ as sysdba'.
I agree with the advice to use kill -9.
If you do get in with sqlplus you're probably going to do a shutdown abort.

Other related posts: