Oracle idle time

Hi all,
In one of our test database(11.2.0.1.0),we want to disable idle time out for developers.
There resource_limit=true and default profile has been assigned to all users,where idle time is unlimited.
Also SQLNET.EXPIRE_TIME=0.
But still the session gets ORA-03113 error, if the session has been idle for long time.
We want the session not to be disconnected.
By default,is Oracle following any idle time out limits.
Need your help

You may have issues that are not linked to timeout. Please check your database instance alert log:
$ oerr ora 3113
03113, 00000, "end-of-file on communication channel"
// *Cause: The connection between Client and Server process was broken.
// *Action: There was a communication error that requires further investigation.
//          First, check for network problems and review the SQL*Net setup.
//          Also, look in the alert.log file for any errors. Finally, test to
//          see whether the server process is dead and whether a trace file
//          was generated at failure time.

Similar Messages

  • Oracle Idle Time errors

    Any suggestions on how I can avoid "ORA-02396: exceeded maximum idle time, please connect again" errors?
    Getting rid of the idle time restriction on the database is not an option, so I was looking for a parameter to tweak so Pages recovers better from Oracle idle timeouts.
    What's happening are javascript errors and other errors in the logs when there is a timeout.

    You may have issues that are not linked to timeout. Please check your database instance alert log:
    $ oerr ora 3113
    03113, 00000, "end-of-file on communication channel"
    // *Cause: The connection between Client and Server process was broken.
    // *Action: There was a communication error that requires further investigation.
    //          First, check for network problems and review the SQL*Net setup.
    //          Also, look in the alert.log file for any errors. Finally, test to
    //          see whether the server process is dead and whether a trace file
    //          was generated at failure time.

  • 0% idle time of cpu states from top command in oracle 8i /solaris 5.9

    Hi,
    for long time idle time is 0% in top command :
    database version:oracle 8.1.7.4.0
    operating system : sun solaris 5.9
    load averages: 9.32, 5.78, 6.13 15:22:13
    404 processes: 387 sleeping, 13 running, 4 on cpu
    CPU states: 0.0% idle, 78.2% user, 21.8% kernel, 0.0% iowait, 0.0% swap
    Memory: 16G real, 7535M free, 5842M swap in use, 9965M swap free
    PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
    6928 oracle 11 20 0 0K 0K run 2:20 12.62% oracle
    23518 oracle 21 31 0 0K 0K run 24:37 11.69% oracle
    9664 oracle 20 30 0 0K 0K run 12:41 10.83% oracle
    15764 oracle 12 21 0 0K 0K run 2:18 10.28% oracle
    9214 oracle 19 21 0 0K 0K run 5:52 8.58% oracle
    13734 oracle 173 21 0 0K 0K cpu/3 311:23 6.11% oracle
    19271 oracle 1 59 0 0K 0K cpu/0 726:20 4.45% oracle
    10436 oracle 1 59 0 0K 0K sleep 81:41 4.39% oracle
    22400 oracle 11 59 0 0K 0K sleep 3:22 4.35% oracle
    9297 oracle 20 59 0 0K 0K cpu/2 7:39 3.66% oracle
    22175 oracle 19 59 0 0K 0K sleep 6:55 3.41% oracle
    9494 oracle 1 30 0 0K 0K run 0:02 2.99% oracle
    10719 oracle 1 59 0 0K 0K sleep 132:48 1.55% oracle
    210 oracle 1 59 0 0K 0K sleep 86:56 1.04% oracle
    22084 oracle 24 59 0 0K 0K sleep 2:50 0.92% oracle
    and sometime load average goes to 25-30 and cpu states is 0% idle in that load so how i can tune my database:
    Regards
    Prakash

    Hi,
    here 0% idle, 0% iowait
    one of the query explain plan i am posting over here:
    Operation     Object Name     Rows     Bytes     Cost     TQ     In/Out     PStart     PStop
    SELECT STATEMENT Hint=CHOOSE          77 K          11800                     
    COUNT STOPKEY                                        
    VIEW          77 K     32 M     11800                     
    SORT UNIQUE STOPKEY          77 K     10 M     8384                     
    HASH JOIN OUTER          77 K     10 M     4968                     
    HASH JOIN          77 K     9 M     4477                     
    HASH JOIN          54 K     2 M     3071                     
    TABLE ACCESS FULL     GA_INSTANCE     10      140      1                     
    HASH JOIN          75 K     2 M     3069                     
    HASH JOIN          75 K     1 M     2351                     
    INDEX FAST FULL SCAN     CUST_ACCT_ADDR_PK     75 K     960 K     282                     
    TABLE ACCESS FULL     ADDRESS     199 K     1 M     1960                     
    TABLE ACCESS FULL     CUST_ACCT     112 K     1 M     593                     
    TABLE ACCESS FULL     IQARA_CNR_ACT_LOG     89 K     6 M     1150                     
    TABLE ACCESS FULL     NI_STATIC_IP_ADDR     21 K     317 K     60                     
    Reagrds
    Prakash

  • Idle time for Oracle user

    Hi,
    we have PS FSCM9 with Oracle DB 10g R2. For the moment idle time for Default profile of Oracle users in DB is UNLIMITED. I wonder if I change it to 90 Minutes (in order to have less memory usage for idle sessions) there would be a probleme for PeopleSoft ERP ?
    Thanks before.

    It could be an issue since Peoplesoft is working through Application server and connection pool. It could stopped (or killed) application server connection client, which you would avoid to be able to reconnect later on with other front end user.
    Nicolas.

  • How to track clients idle time and force to Login View

    How can I force clients to the Login View after a period of idle time ( 1 hour). My mobile application consist of many views and need  the time out to work from any view. Your assistance is appreciated.Using Flash Builder 4.5 and AS 3.0.
    I was able to make it work using FlexEvent.Idle to determine the inactivity. But it only works when I am on the second view, if I go deeper (third view) it fails. Here is the code I am using and the error I get
    protected function view1_creationCompleteHandler(event:FlexEvent):void
         this.systemManager.addEventListener(FlexEvent.IDLE, userIdle);
    private function userIdle(e:FlexEvent):void
       if(e.currentTarget.mx_internal::idleCounter == 200)
        //do something!
        navigator.popToFirstView();
    ERROR MESSAGE
    ++++++++++++++++++++++++
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at views::MainMenu/userIdle()[C:\Documents and Settings\spences\Adobe Flash Builder 4.5\EmployeeLogin\src\views\MainMenu.mxml:89]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.managers::SystemManager/idleTimer_timerHandler()[E:\dev\4.5.1\frameworks\projects\fram ework\src\mx\managers\SystemManager.as:3292]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    Message was edited by: Stewart TVDSB

    Hi Nadeem,
    You can find the max session idle time in table APEX_040000.WWV_FLOWS, attribute MAX_SESSION_IDLE_SEC .
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • Report Server does not respond after certain idle time

    We have an oracle 10g application server on solaris 10.
    The report server has the defaul settings for time out , callback etc..
    After the report server stays idle for 2 or 3 hours and the first report that comes after that takes around 8 to 10 minutes to generate. The report server engine does not seem to be getting active immediately.
    Is there any parameter I can change so that the reports do not get effected.
    Thanks

    I have put the idle time out at 300 minutes and the max idle time as 350 minutes. But that does not seem to have helped.And also I have min engine as 1 , max as 10.
    Even with the above settings , When the report engine is idle after 30 minutes the 1st report to generate after 30 minutes takes 9 minutes.
    please let me know if there are any other parameters I need to change.
    thanks

  • CLOSED: MAPVIEWER LONG PREPARATION TIME AFTER LONG IDLE TIME

    SR # 6896831.994
    Customer: NEDGRAPHICS BV
    Mapviewer Release: 9.0.4
    This issue was posted to the Field Service Forum. They responded with
    For Map, we do create the datasource and related maps, themes, styles to be used for Map. The exeuction part is done by Mapviewer and we don't have much control on the mapviewer code on performance tuning point of view.
    Please post this question in mapviewer forum
    Issue:
    After MapViewer being idle for some time (+/- 60 minutes) it takes a long time to generate the first map image --> 5 minutes.
    In the MapViewer logfile with log-level=finest, I see that there is a very long preparation time.
    After producing the first map image the next (same!) image is produced very fast.
    What could be the reason?
    What does MapViewer do during "preparation"?
    Customer statement:
    I am a very experienced Oracle specialist and a very experienced MapViewer developer.
    Could you please pass on my request to the MapViewer developers?
    I have to know what is going on during preparation time.
    Is there a possibility to get more detailed logging of the preparation time?
    SEE log file at:
    http://workbench.oraclecorp.com/cgi-bin/tools/its_reltar?tar=6896831.994
    FILE: mapviewer_37.log
    Additional customer info.
    UPDATE from customer
    ================
    The first time after long idle time it takes between 100 and 300 seconds.
    After that it takes less than 2 seconds.
    Can it be a dabase connection issue?
    Will it make a difference if I use a database connection via data-sources.xml
    instead of a direct data-source in mapviewerConfig.xml?
    This is what I mean :
    Method 1:
    <map_data_source name="NBG"
    jdbc_host="plutonium"
    jdbc_sid="ods"
    jdbc_port="1521"
    jdbc_user="nbgex"
    jdbc_password="ELvaJ7axzKQl0aKtjikuKT7JUFTjukU3"
    jdbc_mode="thin"
    number_of_mappers="3"
    />
    Method 2:
    <map_data_source name="NBG"
    container_ds="jdbc/NBG"
    number_of_mappers="3"
    />
    data-sources.xml:
    <data-source
    class="oracle.jdbc.pool.OracleDataSource"
    name="NBG"
    location="jdbc/OracleCache"
    ejb-location="jdbc/NBG"
    xa-location="jdbc/xa/OracleXADS"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="nbgex"
    password="nbgex
    url="jdbc:oracle:thin:@plutonium:1521:ods"
    inactivity-timeout="30">
    <property name="connectionCacheName" value="ICC"/>
    <property name="connectionCachingEnabled" value="true"/>
    <property name="fastConnectionFailoverEnabled" value="true"/>
    </data-source>
    Thanks
    Message was edited by:
    user639281

    RESPONSE from customer
    ====================
    The database is restarted once a day in the morning. That could explain the problems in the morning. But there are also problems during day time after some hours of idle time when the database in not restarted.
    After testing we noticed that we don't have the problem if we use database connection through OC4J (data-sources.xml).
    If we use that method every database connection is cleaned up if it is not used for 15 seconds or so.
    If we use the other method (database connection in mapviewerconfig.xml) then the database connection is open for a long time and then we have the problem with the long preparation time.
    This problem only occurs in a DMZ environment. MapViewer is installed on a DMZ server and connects through the firewall with a intranet database.
    Is it possible that the firewall software prevents communication of an open database connection after a long period of idle time?
    Thanls.

  • Native SQL from ABAP - ORA 02396 max idle time exceeded

    Hello,
      I am trying to read a table outside of the R/3 environment using native SQL statements. I'm getting the data just fine. But every other time (depending on elapsed time), I get the ORA-02396 exceeded maximum idle time, connect again. Here's the SQL code I'm using and I'm obviously not getting disconnected but I'm not sure why. Any help?
    Open a native SQL connection.
      EXEC SQL.
        connect to 'ONECD'
      ENDEXEC.
    Retrieve information from the BVER tables.
      EXEC SQL PERFORMING read_dental.
        select emp_ssn_num, emp_fname, emp_lname,
               to_char(start_date, 'YYYYMMDD') as start_date,
               rec_type,
               to_char(eff_date, 'YYYYMMDD') as eff_date,
               vendor_plan_id
            into :dental
            from opr$8oc.BVER_CURR_DENTAL_MASTER
      ENDEXEC.
      EXEC SQL PERFORMING read_medical.
        select emp_ssn_num, emp_fname, emp_lname, rec_type,
               to_char(start_date, 'YYYYMMDD') as start_date,
               to_char(eff_date, 'YYYYMMDD') as eff_date,
               network_code, pcp_number, patient_flag,
               vendor_plan_id,
               to_char(network_eff_date, 'YYYYMMDD') as
                       network_eff_date,
               to_char(pha_eff_date, 'YYYYMMDD') as
                       pha_eff_date
             into :medical
             from opr$8oc.BVER_CURR_MEDICAL_MASTER
      ENDEXEC.
    Disconnect from the native SQL connection.
      EXEC SQL.
        DISCONNECT 'ONECD'
      ENDEXEC.
    The system log has messages like 'Work process is in reconnect status' and 'Work process has left reconnect status' after the ORA-02396 message. And I specifically do a disconnect at the end and a connect at the beginning, but it looks like it is trying to do a reconnect?
    Thanks,
    Diane

    Hi Daine,
    Oracle Parameter IDLE_TIME set by the administrator.
    1. Since you are using Secondary database
       connection, the connection must
       have been made with the help of BASIS Team.
    2. This secondary database ORACLE
       has some settings/parameters
       which have been set to say 10 minutes, 60 minutes etc.
       , so what happens,
       if there is NO ACTIVITY / NO SQL / NO INTERACTION
       with the database ,
       the connection is IDLE
       and hence ORACLE then disconnects by itself.
    3. Contact your basis team / oracle administarotr
      team to INCREASE this setting.
      (they do it for some security purpose, firewall etc)
    I hope it helps.  
    Regards,
    Amit M.
    Message was edited by: Amit Mittal

  • System Profile Option: Applications Global Idle Time

    Hi to All,
    I have been searching for more information about System Profile Option: "Applications Global Idle Time" in ML and Web but havent come across any documentation on this.
    Does anyone have incite on this profile and the default parameter.
    Thanks

    Srini Chavali wrote:
    Pl check the ROW WHO information in FND_PROFILE_OPTIONS table for this profile - most likely this is a custom profile created at your site.
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_PROFILE_OPTIONS&c_owner=APPLSYS&c_type=TABLE
    HTH
    SriniThis profile option exists in 11i and R12, it is a seeded one and not a custom one as you mentioned above.
    It is even mentioned in (R12.0.6+ : Oracle Application Object Library Profile Options Data Collection Test [ID 471675.1]).
    Thanks,
    Hussen

  • How to set the default Maximun idle time for servlets

    Hello I'm trying to set the default maximun idle time for servlets in Contenedor Release 1.0.2.2.1, but I dont know where to do it. Please somebody help me!!

    Saul,
    Are you trying to setup the session timeout ? If so please look at the Web FAQ at http://otn.oracle.com/tech/java/oc4j/htdocs/OC4J-WEB-FAQ.html#7
    regards
    Debu Panda
    Oracle

  • Capture system print event and system idle time

    Hello,
    We are creating a desktop widget using AIR. The widget will be docked to the system tray. What we want to achieve is:
    1. When the user invokes Print function at the OS level, from any location/appolication, the AIR widget shall listen to it and show an alert.
    2. The widget should be able to detect a predefined system idle time (wherein the user is not interacting with the system as a whole - neither mouse nor keyboard inputs - for a predefined interval), and perform an action based on that.
    How shall it be possible to detect the above 2 scenarios in AIR?
    Any help in this regards, will be highly appreciated.
    Thanks in advance.
    Warm Regards,
    Parag

    Srini Chavali wrote:
    Pl check the ROW WHO information in FND_PROFILE_OPTIONS table for this profile - most likely this is a custom profile created at your site.
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_PROFILE_OPTIONS&c_owner=APPLSYS&c_type=TABLE
    HTH
    SriniThis profile option exists in 11i and R12, it is a seeded one and not a custom one as you mentioned above.
    It is even mentioned in (R12.0.6+ : Oracle Application Object Library Profile Options Data Collection Test [ID 471675.1]).
    Thanks,
    Hussen

  • Customize Session Idle Time

    I need to set Page Idle Time out to 1hr i.e. 3600 sec. so that session gets expire and user gets logout after 3600 sec. if the user remains idle.
    Please help me in finding out from where can I set this value ?

    Hi,
    You can set this in WebGate profile. By default the idle session timeout value in WebGate is 3600 seconds. If you are using custom application with Oracle Access Manager for SSO and if you are configuring idle timeout in your application, then you need to modify it accordingly.
    HTH.
    -Mahendra.

  • Oracle idle sessions

    Hi Gurus,
    I need to learn more about Oracle idle sessions, why/how they are created and why some of the idle sessions does not terminate easily.
    Is there any ways to determine which SQLs are responsible for idle sessions. Also SQL way to identify and destroy idle sessions.
    Does this make sense.
    Thanks
    Amitava.

    First, why do you believe that idle sessions are a problem?
    A session is IDLE if it is not, at the instant you query the data dictionary, executing a SQL statement. Most sessions will be idle most of the time because most of the time your applications are waiting on humans to do something or spending time processing data in the application. Just because a session is idle now is no reason to believe that it won't be ACTIVE shortly.
    A modern three-tier application will generally create a pool of connections to the database on each middle tier server. Generally, those pools will be sized for at least reasonably busy conditions. If you happen to look at the database when the application isn't particularly busy, you're likely to see a bunch of idle sessions. That's not a problem. While you could force the application server admins to decrease the size of their connection pools, that may negatively affect the performance of the applications and introduce extra load on the database server for no real benefit.
    Justin

  • To check client idle time

    Hello friends
    My enviroment is Oracle 8. I have 2 oracle users.
    On these 2 users approx 150 clients are feeding data.
    I want help in the following :-
    1. If machine is idle for 10 minutes, it should be
    logged out and this information is inserted in a table.
    Idle means no keyboard/mouse operations. But if it
    is a backgroud process, Report generation or Form
    process, it will continue.
    Thanks in advance.

    thanks. But it was not helpful. as i said that I have only
    two users and the users are accessed by morethan 150 session
    (application user). The profile will restrict only user. I am not sure it will also check for sessions. I want to check idle time of these clients users. I mean to say if the machine using the users is idle for more than 10 minutes then it should logout from the forms and its entry should go to a table. I think it will clear my problem to you.
    thanks and waiting
    You can use profile to do it:
    create profile user_prof limit idle_time 10;
    alter user <username> profile user_prof;
    Then create a trigger:
    create or replace trigger trg$blo
    before logoff on database
    begin
    insert into <table_name>
    values (user, sysdate);
    end trg$blo;

  • Jdbc connection lost after idle time

    Dear users,
    i'm using the oracle 10g database. Now i found out that several programs (SQuirreL, QuantumDB,...) which use the ojdbc14 driver are losing connection to the database after about one hour idle time, but it is not set in db configuration to disconnect (eg parameter idle_time is not set). What could be the cause of this? Is this a error of jdbc (the java exception is something like socket lost) or is it a missconfiguration of the db?
    Thx for help.

    With a simple java program that makes a select on a database table over jdbc after one Hour idle_time this exception happens: (the program is started local on the database server so no firewall or router is between)
    java.sql.SQLException: No more data to read from socket
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1118)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1070)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:478)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
    at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:790)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
    at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:830)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
    at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1272)
    at test$1.run(test.java:24)
    at test.main(test.java:55)

Maybe you are looking for

  • Can I see a pie chart of hard drive content?

    Hey everyone, Is there a way that I can see how my hard drive space is being used? It's almost full and I don't know exactly what's taking up so much space. Thanks!

  • Changing The File Name of The Fonts Folder - Insufficient Privilages?

    I am having trouble installing a program and need to change the name of the folder Library/Fonts, it says i dont have sufficient privilages but i am the onl user on the computer, can someone help? I understand that it shouldnt be changed but it will

  • How can I include the results are coming from a new thread, in the main sequence report?

    Hi, I have a main sequence which calls other sequence running in a new thread. I cannot see the results (limit test etc.) comming from that sequence. Is there any trick to it? Andras

  • How do I get rid of foxyproxy?

    An Icon for foxyproxy and Quick-Wiki appeared suddenly in my lower right hand corner. I don't know how they got there. Went on foxyproxy to see how to get rid of it because my keys were pausing way too long, and my screen would go black for no reason

  • Event ID 36887, Schannel 45

    Hi, I've been noticing the following in the Event Log: Event 36887, Schannel The following fatal alert was received: 45 Log Name - System Source - Schannel Event ID - 36887 Level - Error User - System OpCode: Info It points to an expired certificate,