HIgh Inactive sessions

Hi,
We are facing a problem of lot of inactive sessions consuming huge resources. We have setup connection pooling from weblogic application and connection timout and resuse parameters have been setup from application side for connection pooling. And we still find high inactive sessions which are not getting released even after application user closes the session properly. What might be the work around for this as we facing this for last one week.
Oracle 10.2.0.3.0 on solaris box.
regards
Jaffy

Jaffy wrote:
Hi,
We are facing a problem of lot of inactive sessions consuming huge resources. We have setup connection pooling from weblogic application and connection timout and resuse parameters have been setup from application side for connection pooling. And we still find high inactive sessions which are not getting released even after application user closes the session properly. What might be the work around for this as we facing this for last one week.
Oracle 10.2.0.3.0 on solaris box.
regards
JaffyHi Jaffy,i suggest you have to configure profile for oracle users.For example if you user will inactive 10 minute then can oracle automatically kill this session.For this you can create profile as:
create profile test_prof limit idle_time 10;
alter user <user> profile test_prof;
/*but first you need change resource limit*/
alter system set resource_limit=true;

Similar Messages

  • DBA Reports large number of inactive sessions with 11.1.1.1

    All,
    We have installed System 11.1.1.1 on some 32 bit windows test machines running Windows Server 2003. Everything seems to be working fine, but recently the DBA is reporting that there are a large number of inactive sessions throwing alarms that we are reaching our Max Allowed Process on the Oracle Database server. We are running Oracle 10.2.0.4 on AIX.
    We also have some System 9.3.1 Development servers that point at separate schemas in this environment and we don't see the same high number of inactive connections?
    Most of the inactive connections are coming from Shared Services and Workspace. Anyone else see this or have any ideas?
    Thanks for any responses.
    Keith
    Just a quick update. Originally I said this was only with 11.1.1.1 but we see the same high number of inactive sessions in 9.3. Anyone else see a large number of inactive sessions. They show up in Oracle as JDBC_Connect_Client. Does Shared Service, Planning Workspace etc utilize persistent connections or does it just abandon sessions when the windows service associated with an application is shutdown? Any information or thoughts are appreciated.
    Edited by: Keith A on Oct 6, 2009 9:06 AM

    Hi,
    Not the answer you are looking for but have you logged it with Oracle as you might not get many answers to this question on here.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Oracle 10.2.0.4.0 Production Server is having 1900 INACTIVE SESSIONS

    Dear ALL,
    We are facing an issue of 1900 INACTIVE SESSIONS in our Production Environment which is leading another ISSUE SWAP USAGE is high, as we have 16GB RAM and SGA Target is 4GB PGA Target is 1.7GB and shared memory segment is 6GB but normaly after a week swap goes to 8 to 9GB and it does not come down afterwards. We have not set any session expiry time or not set USER PROFILE for resource LIMITS usage.
    can some help us to solve the 1900 INACTIVE SESSIONS issue and this SWAP usage.
    Oracle version: 10.2.0.4.0
    OS: RHEL ES4
    RAM: 16 GB
    thanks in Advance

    hi Antonio,
    i appreciate your comment on my query it has helped us a lot to further debug the issue and now we are able to trace the INACTIVE SESSIONS issue accurately.
    and we brought down the no of sessions earlier it was set to 200 per node for connection pool for 8 nodes that was not really required.
    thank you very much for this good clue

  • Problem in DBLINK | More Inactive sessions

    Hello All,
    We are facing some problem in our environment due to db links between the applications
    1. MYDB and TSTDB applications reside on two different DB’s.
    2. MYDB has a db link to TSTDB to extract data from TSTDB.
    3. There are lot of sessions created due to the db link.
    4. Application doesn’t effectively close these links , hence a lot of inactive sessions are seen in the DB
    5. The inactive sessions cause high cpu and makes the system go very slow.
    6. only way we managed to remove the inactive sessions is by bouncing the db.
    Can any one please help us is there any other way to resolve this..? Most of the time we could see lot of inactive sessions ...!!!
    Also, If we reduce the job queue process will it help..?

    Create profile and set appropriate resource parameters.
    Assign this profile to user connected in db link.
    Hope this helps.

  • High concurrent session in database

    Hi expertise,
    I have a core banking solution database of 9i. In db concurrent session is 1660 and active concurrent session is 70. Due to high concurrent session my ATM transaction are getting hampered. Please suggested me any workaround in this regards
    Pinak

    918601 wrote:
    Hi expertise,
    I have a core banking solution database of 9i. In db concurrent session is 1660 and active concurrent session is 70. Due to high concurrent session my ATM transaction are getting hampered. Please suggested me any workaround in this regards
    Insufficient data - what does 'hampered' mean, and what is the scale of the problem ?
    Can you show us some indication of how you detect the issue and where you are seeing time lost.
    I can make a few guesses about a highly concurrent ATM system:
    <ul>
    Bad coding could result in waits for TX locks in mode 6, although using IOTs (index organized tables) would make these TX mode 4
    Unfortunate index design could result in wait for TX locks in mode 4 - particularly ITL waits and index leaf block split waits
    Basic infrastructure issues could result in time lost on buffer busy waits
    If you've implemented shared servers (formerly MTS) to cater for 1700 connections then you may be waiting for shared servers to become free
    If you haven't implemented shared servers your (inactive) processes may still be causing CPU wastage problems at the O/S scheduler level.
    </ul>
    If the issue is largely the (fairly standard for this type of application) buffer busy waits issue then an investigation of hash partitioning may be appropriate.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com

  • PL/SQL procedure to kill inactive session

    Hi all ,
    Please i am trying to write a procedure to kill inactive sessions of the shema 'TESTSCHEMA' .This is my first procedure , am not use to pl/sql but i went through many turtorial but have some errors at compliation .when i try to compile the procedure the errors are as below :
    15:50:28 Start Find Objects [TESTSCHEMA@TESTDB_UNIX(2)] ...
    15:50:28 End Find Objects [TESTSCHEMA@ TESTDB_UNIX(2)]
    15:50:32 Start Compiling 1 object(s) ...
    15:50:32 Executing ALTER PROCEDURE fib_dead_cnx_cleanup COMPILE ...
    15:50:32 [13:2] PL/SQL: ORA-00933: SQL command not properly ended
    15:50:32 [9:3] PL/SQL: SQL Statement ignored
    15:50:32 [18:12] PLS-00103: Encountered the symbol "(" when expecting one of the following:
    15:50:32 constant exception <an identifier>
    15:50:32 <a double-quoted delimited-identifier> table LONG_ double ref
    15:50:32 char time timestamp interval date binary national character
    15:50:32 nchar
    15:50:32 The symbol "<an identifier>" was substituted for "(" to continue.
    15:50:32 [18:21] PLS-00103: Encountered the symbol "LOOP" when expecting one of the following:
    15:50:32 := ; not null default character
    15:50:32 The symbol "; was inserted before "LOOP" to continue.
    15:50:32 [27:8] PLS-00103: Encountered the symbol "ALTER" when expecting one of the following:
    15:50:32 begin case declare exit for goto if loop mod null pragma
    15:50:32 raise return select update while with <an identifier>
    15:50:32 <a double-quoted delimited-identifier> <a bind variable> <<
    15:50:32 close current delete fetch lock insert open rollback
    15:50:32 savepoint set sql execute commit forall merge pipe
    15:50:32 Compilation complete - 5 error(s) found
    15:50:32 End Compiling 1 object(s)
    below is the procedure code :
    CREATE OR REPLACE
    PROCEDURE fib_dead_cnx_cleanup
    AS
    l_serial     CHAR(100);
    l_sid CHAR (100);
    l_sid_serial CHAR(100);
    l_count      NUMBER(10,0);
    CURSOR session_cur IS
              SELECT sid,serial#,sid||','||serial# as sid_serial
         FROM v$session
         WHERE username='EBBFCAT' and schemaname='TESTSCHEMA'
         and status='INACTIVE'
    BEGIN
         BEGIN
         l_count := 0;
                   OPEN session_cur;
                        WHILE ( 1 = 1) LOOP
                             BEGIN
                                  FETCH session_cur INTO l_sid ,l_serial,l_sid_serial ;
                                       EXIT WHEN session_cur%NOTFOUND ;
                                  BEGIN
                                       alter system kill session 'l_sid_serial' ;
                                  END;     
                             END;
                        END;
                   CLOSE session_cur;
         END;
    END FIB_DEAD_CNX_CLEANUP;
    Thanks

    Hi,
    Never write, let alone post, unformatted code.
    When posting any formatted text on this site, type these 6 characters:
    &#123;code&#125;
    (small letters only, inside curly brackets) before and after sections of formatted text, to preserve spacing.
    Among the benefits of formatting: you can indent to show the extent of blocks, such as BEGIN-END.
    Different types of blocks need modifiers after the end, such as "END *IF* " and " END *LOOP* ". If each opening statement (BEGIN, IF, LOOP) is directly above its corresponding END, then it's easy to check if you got the right modifier.
    Here's what you code looks like with some formatting, and a couple of corrections added. Look for -- comments.
    CREATE OR REPLACE
    PROCEDURE fib_dead_cnx_cleanup
    AS
         l_serial     CHAR(100);
         l_sid          CHAR (100);
         l_sid_serial     CHAR(100);
         l_count          NUMBER(10,0);
         CURSOR session_cur IS
                SELECT  sid
                ,       serial#
                ,       sid     || ','
                                      || serial#     as sid_serial
                FROM     v$session
                WHERE      username     = 'EBBFCAT'
                and     schemaname     = 'TESTSCHEMA'
                and     status          = 'INACTIVE';          -- need semicolon here
    BEGIN
         BEGIN                                   -- Why?
              l_count := 0;
              OPEN session_cur;
              WHILE ( 1 = 1)
              LOOP
                    BEGIN                         -- Why?
                         FETCH  session_cur
                         INTO   l_sid
                         ,          l_serial
                         ,          l_sid_serial ;
                               EXIT WHEN session_cur%NOTFOUND ;
                         BEGIN                    -- Why?
                             alter system kill session 'l_sid_serial' ;    -- Not a PL/SQL command
                               END;
                          END;
                END LOOP;                         -- LOOP ends with END LOOP
                CLOSE session_cur;
            END;
    END      FIB_DEAD_CNX_CLEANUP;Take baby steps.
    I've been wrtiing PL/SQL for 20 years, and I would never write that much code at once. If you're a beginner, all the more reason to start small. Write as little as possible, test, debug and test again (if necessary). When you have someting working, add 2 or 3 more lines and test again.
    It looks like you have three BEGIN statements that don't serve any purpose. You should get rid of them (and their corresponding END statements, of course).
    One error I did not fix: ALTER SYSTEM is not a PL/SQL statement. It's a SQL statement. You can run a SQL statement inside PL/SQL by using dynamic SQL, where you construct a string containing the SQL statement, and then use dbms_sql or EXECUTE IMMEDIATE to run it.
    Edited by: Frank Kulash on Aug 18, 2009 12:37 PM

  • Inactive sessions

    Iam in need of a script to kill all the inactive sessions in the database and the same script should kill all the pid related in the OS also.
    can anyone send me a scripts or any input on this will be of great help ?
    Kai

    KaiS,
    See both functions and wrap around in your unix script, this should magic for you I suppose :) and you should replace sqlplus "/as sysdba" by sqlplus '/as sysdba'
    *function readSqlstmt {*
    typeset stmt=$1
    echo "
    set feedback off
    set verify off
    set heading off
    set pagesize 0
    whenever sqlerror exit 1
    whenever oserror exit 2
    *$stmt;*
    exit
    *" | sqlplus -S "/as sysdba" &gt;&gt; test.log*
    function killpid {
    killpidsql=killpid.sql
    sqlplus -s "/as sysdba" << ENDOFSQL >> test.log
    whenever sqlerror exit 1
    whenever oserror exit 2
    SET pagesize 0
    SET verify off
    SET feedback off
    SPOOL ${killpidsql}
    SELECT 'ALTER system kill session ''' || s.sid || ',' || s.serial# || ''';'
    FROM v\$session s, v\$process p
    WHERE s.paddr = p.addr AND s.status = 'INACTIVE';
    SPOOL OFF
    @${killpidsql}
    ENDOFSQL
    Example: How to use above readSqlstmt function, to kill unix process id and call "killpid" to kill sessions from oracle.
    *readSqlstmt "SELECT p.spid FROM v\$session s, v\$process p WHERE s.paddr = p.addr AND s.status = 'INACTIVE'" | while read u*
    *do*
    * #echo "kill -9" $u &gt;&gt; test.log*
    * echo $u*
    *done*
    *Regards*
    Edited by: OrionNet on Dec 10, 2008 10:52 PM
    Edited by: OrionNet on Dec 10, 2008 10:54 PM

  • Inactive sessions in v$session

    Hi,
    why there are so many apps user inactive sessions in v$session?
    Regards

    Hi Hussein,
    The process which are arctive are shown as inactive in v$session view,We cannot trust the status column of this view,By default as soon the apps is started the oracle is creating around 82 to 85 apps processes which are inactive but i think they are active.
    The option referenced above is a good one to follow in this situation
    A discussion of Dead Connection Detection, Resource Limits, V$SESSION, V$PROCESS and OS processes
    Thanks Hussein and Anchorage
    Regards

  • Inactive sessions in v$session.  True problem

    Hi,
    I am working in an Oracle 9i/Weblogic/J2EE platform. And when i look for session info in v$session view, i see that there are many sessions that have a status "Inactive". I already figured out what it means- the session is ACTIVE when it is doing an SQL query at the time and the session is INACTIVE when it is not doing an SQL query at that particular moment.
    But i have questions:
    1) If a client logs in to my webapplication and does a SQL query- then the sessions status is ACTIVE. After that, when the client just leaves (logs out just closes the browser) then Oracle marks that connection as 'INACTIVE'- Oracle does not KILL that session.
    Ok let that be, but can another client then log in to my webapplication (from different computer) and get that same INACTIVE connection and start to use it?? If not, then these "abandoned" connection are truly useless, because they still use ORACLE resources (memory).
    2)Another thing is that there are many INACTIVE sessions in v$session that have a name "plsqldev.exe" in PROGRAM column. That is a database client that i use to connect directly to my DB. But basicly i have only one PL/SQL program with one SQL query window open (this session is marked ACTIVE in v$session). So are these other 10 INACTIVE "plsqldev.exe" sessions meant for new plsql clients that may start to use the database or can only that particular user for whom the session was created at first place use that session?
    And finally- sessions that are INACTIVE and have "plsqldev.exe" as a PROGRAM in v$session - is there any chance that a client logs in to webapplication and then gets that INACTIVE session?
    If not, then these 10 INACTIVE plsqldev sessions (allthough the user has maybe shut down the program) are wasteless for webapplication users and they just starve the database.
    Also a screenshot for illustration.
    Waiting for your comments,
    Thanks!

    If connection pooling is in use then yes a different end-user can reuse the "inactive" session. Remember that ACTIVE and INACTIVE really only refers to if the session is executing SQL at the exact moment you query v$session.
    In the case of a dedicated user connection using a product like Oracle Forms where the user spends much of the time reading and filling in screen fields the Oracle background session can show INACTIVE almost constantly because the queries being ran by the user are very fast.
    Take a look at the last_call_et column. This is the time in seconds from when the last SQL statement was issued (not completed). If this value is resetting then the queries are being done.
    If the time is large and the status is INACTIVE then you could have a 'dead' or 'runaway' background process which is a background process without a front-end process. Those can and should be terminated. For that matter sessions that are idle for long periods of time should probably also be killed. If nothing else runaway and idle sessions may make it appear you are using all your licensed connections even if you really are not.
    Most connection pools wil automatically restart a terminated connection so if you clean-up process terminates an idle pooled connection it should not be a problem.
    HTH -- Mark D Powell --

  • Active vs Inactive sessions

    We are using Oracle 11 as a backend to PowerSchool (a student information system) with 6 application servers (dc-ps-01 thru -06). Using the following SQL, we are seeing numerous INACTIVE sessions vs ACTIVE.
    select
    count(b.machine) as mCount,
    b.machine box,
    b.status,
    b.osuser os_user,
    b.program program
    from
    v$session b, v$process a
    where
    b.paddr = a.addr and type='USER'
    group by
    b.machine,b.osuser,b.program,b.status
    order by
    b.status, mCount desc, box;
    Sample output:
    MCOUNT Box Status OS_USER Program
    *2     DC-PS-01*     ACTIVE     powerschool     JDBC Thin Client
    1     DC-PS-DB1     ACTIVE     DC-PS-DB1$     OMS
    1     DC-PS-DB1     ACTIVE     SYSTEM     ORACLE.EXE (J001)
    1     DC-PS-DB1     ACTIVE     SYSTEM     ORACLE.EXE (J000)
    406     DC-PS-05     INACTIVE     powerschool     JDBC Thin Client
    *44     DC-PS-01*     INACTIVE     powerschool     JDBC Thin Client
    36     DC-PS-03     INACTIVE     powerschool     JDBC Thin Client
    32     DC-PS-04     INACTIVE     powerschool     JDBC Thin Client
    28     DC-PS-02     INACTIVE     powerschool     JDBC Thin Client
    17     DC-PS-06     INACTIVE     powerschool     JDBC Thin Client
    7     DC-PS-DB1     INACTIVE     DC-PS-DB1$     OMS
    While the number of ACTIVE sessions fluctuate, the number of INACTIVE ones do not decrease. Would someone explain the internal working of this?
    Thanks!

    Note that the status column of v$session only shows ACTIVE while the Oracle session background process is busy performing a SQL statement on behalf of the front-end session. If the application spends most of its time with the user entering data onto or reading results off a screen then the session is going to appear INACTIVE most of the time in Oracle.
    Also check the last_call_et to see how long it has been since the session issued a request to Oracle. This is how to tell if the session is truely INACTIVE.
    If the front-end application uses connection pooling then depending on how many connections the application is set to grab and what kind of connection pool session management the front-end product provides you can have a lot of basically unneeded and truely inactive sessions.
    HTH -- Mark D Powell --

  • Timing out inactive sessions

    Is there a way to set inactive sessions to timeout after a certain period of time?

    You may consider to use SQLNET.EXPIRE_TIME
    REFERENCE: http://download.oracle.com/docs/cd/B12037_01/network.101/b10776/sqlnet.htm
    ============================================================
    SQLNET.EXPIRE_TIME
    Purpose
    Use parameter SQLNET.EXPIRE_TIME to specify a the time interval, in minutes, to send a probe to verify that client/server connections are active. Setting a value greater than 0 ensures that connections are not left open indefinitely, due to an abnormal client termination. If the probe finds a terminated connection, or a connection that is no longer in use, it returns an error, causing the server process to exit. This parameter is primarily intended for the database server, which typically handles multiple connections at any one time.
    Limitations on using this terminated connection detection feature are:
    * It is not allowed on bequeathed connections.
    * Though very small, a probe packet generates additional traffic that may downgrade network performance.
    * Depending on which operating system is in use, the server may need to perform additional processing to distinguish the
    connection probing event from other events that occur. This can also result in degraded network performance.
    Default 0
    Minimum Value 0
    Recommended Value 10
    Example
    SQLNET.EXPIRE_TIME=10

  • [SOLVED]What is the meaning of any/active/inactive session in polkit?

    Wiki said  「inactive sessions are generally remote sessions (SSH, VNC, etc.) 」.
    So I changed the *.policy file like below to execute the action without password  only when I am logging in remotely.
    (Just for clarifying the difference between any/active/inactive session.)
    <allow_any>no</allow_any>
    <allow_inactive>yes</allow_inactive>
    <allow_active>no</allow_active>
    Contrary to expectations, I couldn't execute the action remotely without password.
    So I changed again like below.
    <allow_any>yes</allow_any>
    <allow_inactive>no</allow_inactive>
    <allow_active>no</allow_active>
    This time, I was able to execute the action remotely without password.
    From the above, I think the remote session is neither active nor inactive.
    Is it true? If so, what is the inactive session?
    What is the definition of active/inactive?
    Last edited by remingtontonpon (2014-08-04 06:16:52)

    'man polkit' explains that 'allow_inactive' and 'allow_active' are for sessions on local consoles.
    Only 'allow_any' applies to any client local or remote.
    This seems confirmed by what you observe on your machine.

  • Inactive sessions increasing in database

    Hi
    Recently i migrated Oracle9i database to oracle10g database 64 bit on windows 2008 server.
    After Migration.Inactive sessions are not automatically flushing from database,and these inactive sessions are reaching maximum sessions limits that leads to Database Hang.
    How can i solve this inactive sessions problem?
    Thanks
    With Regards
    OH

    damorgan wrote:
    desc sys.kottd$Interesting table and custom data type.
    SQL> set long 9999
    SQL> col SQL format a50
    SQL>                  
    SQL> select           
      2          DBMS_METADATA.get_ddl( 'TABLE', 'KOTTD$', 'SYS')        as SQL
      3  from       dual;                                                     
    SQL
      CREATE TABLE "SYS"."KOTTD$" OF "SYS"."KOTTD"
    OIDINDEX  ( PCTFREE 10 INITRANS 2 MAXTRANS 255
      STORAGE(INITIAL 65536 NEXT 1048576 MINEX    
    TENTS 1 MAXEXTENTS 2147483645                 
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFF
    ER_POOL DEFAULT)                                 
      TABLESPACE "SYSTEM" )                          
    PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS
    LOGGING                                                 
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MA    
    XEXTENTS 2147483645                                     
      PCTINCREASE 0 FREELISTS 1 FREELIST GRO                
    UPS 1 BUFFER_POOL DEFAULT)                              
      TABLESPACE "SYSTEM"                                   
    SQL>
    SQL>
    SQL> select
      2          DBMS_METADATA.get_ddl( 'TYPE', 'KOTTD', 'SYS')        as SQL
      3  from       dual;                                                   
    ERROR:                                                                  
    ORA-31603: object "KOTTD" of type TYPE not found in schema "SYS"        
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105                            
    ORA-06512: at "SYS.DBMS_METADATA", line 2805                            
    ORA-06512: at "SYS.DBMS_METADATA", line 4333                            
    ORA-06512: at line 1                                                    
    no rows selected
    SQL>
    SQL> col attr_name format a30
    SQL> col attr_type_name format a30
    SQL> select                      
      2          attr_no,
      3          attr_name,
      4          attr_type_name
      5  from       dba_type_attrs
      6  where      type_name = 'KOTTD'
      7  and        owner = 'SYS'
      8  order by attr_no;
       ATTR_NO ATTR_NAME                      ATTR_TYPE_NAME
             1 KOTTDKVN                       UNSIGNED BINARY INTEGER(32)
             2 KOTTDSCH                       VARCHAR2
             3 KOTTDNAM                       VARCHAR2
             4 KOTTDUVN                       VARCHAR2
             5 KOTTDTC                        UNSIGNED BINARY INTEGER(16)
             6 KOTTDTDS                       CANONICAL
             7 KOTTDNDS                       CANONICAL
             8 KOTTDFLG                       UNSIGNED BINARY INTEGER(16)
             9 KOTDVSN                        UNSIGNED BINARY INTEGER(16)
            10 KOTTDBDY                       KOTTB
    10 rows selected.
    SQL> -- not even a varchar2 attr of the data type "accessible"
    SQL> select KOTTDNAM from sys.kottd$ where rownum < 11;
    select KOTTDNAM from sys.kottd$ where rownum < 11
    ERROR at line 1:
    ORA-00904: "KOTTDNAM": invalid identifier
    SQL> -- Calling the constructor? Oracle no likes..
    SQL> select KOTTD( null, 'test','test','test',null,null,null,null,null,null) from dual;
    select KOTTD( null, 'test','test','test',null,null,null,null,null,null) from dual
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [qctcte1], [0], [], [], [], [], [], []
    SQL>

  • Inactive sessions increasing database

    Hi
    We are using oracle11.5.10.2 on windows 2000 server and database version 10.2.0.3
    we are facing problem with inactive sessions,grdually inactive sessions increasing and thats leads database crash.
    Temporary i increased processes parameter value tp 400 prviously it was 200
    Most of inactive session from apps user only
    How can i fix this problem?
    Thanks
    With Regards
    OH

    Hi,
    Please see these threads.
    how to kill inactive sessions????????
    how to kill inactive sessions????????
    Inactive sessions in Database
    Re: Inactive sessions in Database
    Regards,
    Hussein

  • Inactive sessions in Database

    Hi,
    Lot inactive sessions are in database, Before we bounce database ----> max process got reached, For that we have changed max process and bounced the database but i can see still 75 inactive sessions in database,
    SQL> show parameter process
    NAME TYPE VALUE
    aq_tm_processes integer 1
    db_writer_processes integer 1
    gcs_server_processes integer 0
    job_queue_processes integer 2
    log_archive_max_processes integer 2
    processes integer 200
    SQL> show parameter spfile
    NAME TYPE VALUE
    spfile string
    Then i changed processes to 300
    SQL> show parameter process
    NAME TYPE VALUE
    aq_tm_processes integer 1
    db_writer_processes integer 1
    gcs_server_processes integer 0
    job_queue_processes integer 2
    log_archive_max_processes integer 2
    processes integer 300
    even after bouncing still 75 inactive sessions in database

    Hi,
    What are the events/programs of those sessions?
    Have you started the application or not yet?
    Go through the following documents and see if it helps.
    Note: 427759.1 - How To Prevent Inactive JDBC Connections In Oracle Applications
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=427759.1
    Note: 261791.1 - 11i JDBC Thin client connections remain active, MAX PROCESSES REACHED
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=261791.1
    Regards,
    Hussein

Maybe you are looking for

  • To calculate difference  between vendor assay and quality assay

    Hi experts, i am doing a report on raw material purity analysis.i want to calculate differance of vendor assay and quality assay which is in %age.So please tell me to calculate differance using split operation. Thanks

  • IMessage not working on iPad

    In the house we have 3 iPhones and I have a iPad 2 they all share the same iTunes acct. and we have wi-fi at home. I cannot send iMessage from my iPad to my daughters iPhone in the other room? My iPad is wi-fi only.

  • Capturing the JVM heap usage information to a log

    When using weblogic 6.1sp3 the console under monitoring/performance a graph is displayed with the historical JVM heap usage information. Is there any way to capture this information to a log?

  • Cfqueryparam with PreserveSingleQuotes

    Hi all, Is the following query safe against SQL injection attacks? <cfquery name="AddRequestParams" datasource="MyDb"> INSERT INTO MyTable (Field) VALUES (<cfqueryparam value = "#PreserveSingleQuotes(URL.Value)#">) </cfquery> I've read in several pla

  • Runtime error in MSS - Team- General Information- Related links- Employee Dates

    Hello All, We recently upgrade from 7.01 to 7.31, we also updated the respective XSS components also to compatible levels. All applicatoins are coming up well except the Employee dates and Desciplinary actions based on related links under MSS ->Team-