Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Max Sessions Exceeded / Sessions Not Dying

Re: Max Sessions Exceeded / Sessions Not Dying

From: <bdbafh_at_gmail.com>
Date: 20 Jun 2005 14:02:41 -0700
Message-ID: <1119301361.130947.104610@g43g2000cwa.googlegroups.com>


you have 3 options:

  1. use resource limits with profiles. in this case sessions exceeding the profile resource limit (such as idle_time, max_connect_time) will be sniped. In this manner, you need not timeout all connections, just those whose user accounts have been assigned a specific profile.
  2. use a sqlnet.expire_timeout parameter in the sqlnet.ora. this would not be selective in which sessions would be timed out. this is not supported at all on some OSes.
  3. script a solution whereby you kill the zombies and schedule it to run periodically. alter system kill session is notorious for not actually doing anything other than marking the session as killed. far better to kill the actual user process from the operating system and have the resources freed.

AFAIK, sqlnet expiration didn't work well in 9.2.0.4, but I haven't tested it on Solaris.

hth.

-bdbafh Received on Mon Jun 20 2005 - 16:02:41 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US