URGENT!!! How to kill a SYS session

What is the command to kill a SYS session? Let's say someone figured out the SYS password and logged in. Now I want to kill the session. What do I do?
The ALTER SYSTEM KILL SESSION 'SID,SERIAL#' does not work.
URGENT!!!!

Hi,
>>The ALTER SYSTEM KILL SESSION 'SID,SERIAL#' does not work.
Why not ?
C:\>sqlplus sys/******* as sysdba
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Jun 15 17:06:26 2007
Copyright (c) 1982, 2004, Oracle.  All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SYS@ORACLE10> SELECT userenv('ISDBA') from dual;
USEREN
TRUE
SYS@ORACLE10> select sid,serial# from v$session where sid=(select distinct sid from v$mystat);
       SID    SERIAL#
       236      22100
Other session:
[pre]
C:\>sqlplus system/*********
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Jun 15 17:07:02 2007
Copyright (c) 1982, 2004, Oracle.  All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SYSTEM@ORACLE10> alter system kill session '236,22100';
System altered.
Back to one ...
SYS@ORACLE10> select sysdate from dual;
select sysdate from dual
ERROR at line 1:
ORA-00028: your session has been killedCheers

Similar Messages

  • How to kill the blocking session

    hi expert,
    when i m going to run the below query
    Update rcv_transactions_interface rti set rti.processing_mode_code ='BATCH'  where rti.interface_transaction_id = 3671265
    it gives the error:
    ORA-00054 resource busy and acquire with NOWAIT specified.
    i find out the blocking session by using the blow query;
    SELECT  a.SESSION_ID, a.SESSION_SERIAL#, min(A.SAMPLE_TIME) start_time,max(A.SAMPLE_TIME) end_time,a.inst_id, a.blocking_session,a.user_id,s.sql_text,A.EVENT,O.OBJECT_NAME,max(A.SAMPLE_TIME) - min(A.SAMPLE_TIME) 
    FROM GV$ACTIVE_SESSION_HISTORY a  ,gv$sql s, dba_objects o
    where a.sql_id=s.sql_id
    and A.CURRENT_OBJ# = O.OBJECT_ID
    and blocking_session is not null
    and a.user_id  != 0 -- exclude SYS user
    and a.sample_time > sysdate - 7
    and a.event = 'enq: TX - row lock contention'
    group by a.SESSION_ID, a.SESSION_SERIAL#, a.inst_id,a.blocking_session,a.user_id,s.sql_text,A.EVENT,O.OBJECT_NAME
    it gives the output
    SESSION_ID
    SESSION_SERIAL#
    START_TIME
    END_TIME
    INST_ID
    BLOCKING_SESSION
    USER_ID
    SQL_TEXT
    EVENT
    OBJECT_NAME
    MAX(A.SAMPLE_TIME)-MIN(A.SAMPLE_TIME)
    369
    45,849
    9/4/2013 8:29:33.119 AM
    9/4/2013 11:40:27.508 AM
    1
    554
    173
    SELECT POL.UNIT_PRICE   FROM PO_LINES POL  WHERE POL.PO_LINE_ID = :b1
    enq: TX - row lock contention
    PO_LINES_ALL
    +00 03:10:54.389000
    554
    18,872
    9/4/2013 8:29:33.119 AM
    9/4/2013 11:40:27.508 AM
    1
    365
    173
    SELECT POL.UNIT_PRICE,POL.QUANTITY,POL.UNIT_MEAS_LOOKUP_CODE,POL.AMOUNT   FROM PO_LINES POL  WHERE POL.PO_LINE_ID = :b1
    enq: TX - row lock contention
    JA_IN_PO_LINE_LOCATION_TAXES
    +00 03:10:54.389000
    572
    168
    9/4/2013 8:29:33.119 AM
    9/4/2013 11:40:27.508 AM
    1
    554
    173
    select line_location_id into :b0 from po_line_locations_all where line_location_id=:b1 for update of line_location_id
    enq: TX - row lock contention
    PO_LINE_LOCATIONS_ALL
    +00 03:10:54.389000
    581
    4,973
    9/4/2013 10:49:38.157 AM
    9/4/2013 10:50:39.259 AM
    1
    572
    173
    Update rcv_transactions_interface rti set rti.processing_mode_code ='BATCH'  where rti.interface_transaction_id = 3671265
    enq: TX - row lock contention
    RCV_TRANSACTIONS_INTERFACE
    +00 00:01:01.102000
    my problem is in the above  output among 4 which i have to delete so sove my issue.
    its very urgent for me.
    plz plz suggest me and how can i kill the session.
    thanks & regards
    pritesh ranjan

    priteshranjan wrote:
    hi expert,
    when i m going to run the below query
    Update rcv_transactions_interface rti set rti.processing_mode_code ='BATCH'  where rti.interface_transaction_id = 3671265
    it gives the error:
    ORA-00054 resource busy and acquire with NOWAIT specified.
    i find out the blocking session by using the blow query;
    SELECT  a.SESSION_ID, a.SESSION_SERIAL#, min(A.SAMPLE_TIME) start_time,max(A.SAMPLE_TIME) end_time,a.inst_id, a.blocking_session,a.user_id,s.sql_text,A.EVENT,O.OBJECT_NAME,max(A.SAMPLE_TIME) - min(A.SAMPLE_TIME)
    FROM GV$ACTIVE_SESSION_HISTORY a  ,gv$sql s, dba_objects o
    where a.sql_id=s.sql_id
    and A.CURRENT_OBJ# = O.OBJECT_ID
    and blocking_session is not null
    and a.user_id  != 0 -- exclude SYS user
    and a.sample_time > sysdate - 7
    and a.event = 'enq: TX - row lock contention'
    group by a.SESSION_ID, a.SESSION_SERIAL#, a.inst_id,a.blocking_session,a.user_id,s.sql_text,A.EVENT,O.OBJECT_NAME
    it gives the output
    SESSION_ID
    SESSION_SERIAL#
    START_TIME
    END_TIME
    INST_ID
    BLOCKING_SESSION
    USER_ID
    SQL_TEXT
    EVENT
    OBJECT_NAME
    MAX(A.SAMPLE_TIME)-MIN(A.SAMPLE_TIME)
    369
    45,849
    9/4/2013 8:29:33.119 AM
    9/4/2013 11:40:27.508 AM
    1
    554
    173
    SELECT POL.UNIT_PRICE   FROM PO_LINES POL  WHERE POL.PO_LINE_ID = :b1
    enq: TX - row lock contention
    PO_LINES_ALL
    +00 03:10:54.389000
    554
    18,872
    9/4/2013 8:29:33.119 AM
    9/4/2013 11:40:27.508 AM
    1
    365
    173
    SELECT POL.UNIT_PRICE,POL.QUANTITY,POL.UNIT_MEAS_LOOKUP_CODE,POL.AMOUNT   FROM PO_LINES POL  WHERE POL.PO_LINE_ID = :b1
    enq: TX - row lock contention
    JA_IN_PO_LINE_LOCATION_TAXES
    +00 03:10:54.389000
    572
    168
    9/4/2013 8:29:33.119 AM
    9/4/2013 11:40:27.508 AM
    1
    554
    173
    select line_location_id into :b0 from po_line_locations_all where line_location_id=:b1 for update of line_location_id
    enq: TX - row lock contention
    PO_LINE_LOCATIONS_ALL
    +00 03:10:54.389000
    581
    4,973
    9/4/2013 10:49:38.157 AM
    9/4/2013 10:50:39.259 AM
    1
    572
    173
    Update rcv_transactions_interface rti set rti.processing_mode_code ='BATCH'  where rti.interface_transaction_id = 3671265
    enq: TX - row lock contention
    RCV_TRANSACTIONS_INTERFACE
    +00 00:01:01.102000
    my problem is in the above  output among 4 which i have to delete so sove my issue.
    its very urgent for me.
    plz plz suggest me and how can i kill the session.
    thanks & regards
    pritesh ranjan
    According to the above, your session_id is 581 which is blocked by session_id 572 so you need to kill the 3rd session in the list.
    Thanks,
    Hussein

  • How to kill particular Oracle Session from the multiple Session of User

    Hi,
    I am working on Web Application using ASP.NET , C# with Oracle. I am excuting queries from multiple connection of same user. I want to kill particular user session. I have tried to Kill session by using ALTER SYSTEM KILL SESSION 'sid,serial#' it is working fine but how can i identify which session is generated by particular connection so that i can kill that particular session.
    Suppose there us user 'abc' there are multple instance of this user and all are active but same USERNAME. So Please tell me how can i identify that session through which i am executing the query.
    Thanks,
    Nitin

    Some ideas for how to pick the right session:
    -Look at the time the session was connected (logon_time)
    -Look at the time the session last started it's most recent statement (last_call_et)
    -Look at the sql that the session is running (join with sql_address and sql_hash_value over to v$sqltext_with_newlines or one of the other views that show you the sql they are running)
    That usually gets me most of the way, if it's possible to distinguish them. ("Yeah I just started this query and I want you to kill it." is different than "I started five different queries at about the same time and I'm not sure which one I need killed.")

  • Urgent: how to use cookies or session in javafx

    Hi....
    i am new to javafx and need help to learn how to use cookies and session in javafx.i want to create a simple website using javafx.....
    Urgent reply is requested
    mufaddal

    Please correct me if I'm wrong: I think LiveConnect is not supported on IE, and Mozilla has plans to discontinue it.
    Didn't an earlier version of JavaFX allow access to the Applet instance, including the AppletContext? Seems to me, just generally, that JavaFX applets are hobbled unless they have that functionality available. Cookies are one example. Also applet parameters, hyperlinks, and the browser status display.
    Especially hyperlinks.

  • URGENT - HOW TO PROCESS A BDC SESSION (IN BACKGROUND) FROM INSIDE A REPORT

    Hi All,
    I have a requirement wherein I need to create a BDC session for mass update(from file) of one transaction and check if at all that update has taken place and proceed with the same session for another transaction.
    For this I need to know how to process the session in background in a report, so that if the processing is done, the next set of data to update a different transaction can happen.
    All inputs are welcome and highly valuable to me.
    If someone is unable to intrepret this, I'll detail it again.
    Thanks in advance,
    Vaishnavi Varadarajan

    Hi,
    1.Use RSBDCDRU is an exe pg.With this u can download the logs into local file.
    2.It will create the spool request .from there u can download or print.
    OtherWise:
    Use the code from the link below. U need to provide the session queue id as input and it will download the log to an excel file. U can change it to  ur reqmt.
    Re: BDC
    regards
    kiran

  • How to kill a  session in stored procedure or trigger.

    Can anyone let me know, how to kill a particular session in stored procedure or trigger.
    Regards
    KVSS

    also you cannot attempt to kill ur own current session.
    But on what circumstances you want to kill the session.
    When anyone trys to access a table and lets suppose the trigger onthat table activates
    and you want to kill that very session which activated the trigger ???
    i dont think its possible. To kill a session definitely you should be in a different session and
    then only you can achieve that.
    pls check it out
    prakash
    [email protected]

  • How to kill concurrent request oracle session which is terminated

    Dear,
    In our production environment Concurrent request "Gather Schema Stats" was running 2 days. Hence we cancelled the request.
    Request completed as terminated status. Unfortunately the oracle session of that concurrent request went to "Killed" status. Still utilizing CPU resource.
    If we try, "alter system kill session 'SID,serial#';"
    it gives below message,
    ERROR at line 1:
    ORA-00031: session marked for kill
    Could you please provide steps to kill this oracle session.
    Instance detail:
    Oracle Applications R12.1
    Oracle database 11.1.0.7
    Thanks,
    ...basha
    Edited by: 913932 on Jun 25, 2012 2:32 AM

    In our production environment Concurrent request "Gather Schema Stats" was running 2 days. Hence we cancelled the request.
    Request completed as terminated status. Unfortunately the oracle session of that concurrent request went to "Killed" status. Still utilizing CPU resource.
    If we try, "alter system kill session 'SID,serial#';"
    it gives below message,
    ERROR at line 1:
    ORA-00031: session marked for killTry "alter system kill session 'SID,serial#' immediate".
    Could you please provide steps to kill this oracle session.Concurrent Processing - How to Find Database Session & Process Associated with a Concurrent Program Which is Currently Running. [ID 735119.1]
    Thanks,
    Hussein

  • How to kill oracle session?

    hi there,
    Aside from using tool like TOAD is there a syntax on how to kill oracle session?
    pls help.
    tnx...

    First findout the SID, Serial No for the Particular Session ( syntax is as follows )
    SELECT sid, serial#,osuser, program FROM v$session;
    (Killing the session on SQL Prompt)
    ALTER SYSTEM KILL SESSION 'sid,serial#';
    force to kill the session by adding IMMEDIATE
    ALTER SYSTEM KILL SESSION 'sid,serial#' IMMEDIATE;
    OS Oracle Kill Session
    First findout the SID, SPID for the Particular Session ( SQL syntax is as follows )
    SELECT s.sid,p.spid, s.osuser ,s.program
    FROM v$process p, v$session s
    WHERE p.addr = s.paddr;
    Windows OS Command for kill Session
    orakill SID SPID
    Regs,
    Naresh

  • How to kill session completely?

    Anybody knows how to kill session completely? Because I am using session variables to capture information for data entry, for 2nd entry, the session variables are still there.
    I have been told to use session.abandon.
    Any idea?
    Thanks
    Jeffrey

    Can I use session.invalidate to kill certain session, but keep certain sessions (e.g. userID).
    Any suggestion ?

  • How to kill old jobs

    Hi all,
    I'm having problems with my 10.2.0.3 Enterprise Oracle version to kill some old jobs. These were datapump jobs.
    I've all these jobs when I query the dba_datapump_jobs:
    OWNER_NAME JOB_NAME OPERATION JOB_MODE STATE ATTACHED_SESSIONS
    SYSTEM EXPORT_FULL_20111118 EXPORT FULL DEFINING 1
    SYSTEM SYS_EXPORT_SCHEMA_01 EXPORT SCHEMA DEFINING 0
    SYSTEM SYS_EXPORT_SCHEMA_02 EXPORT SCHEMA DEFINING 0
    SYSTEM SYS_EXPORT_SCHEMA_03 EXPORT SCHEMA DEFINING 0
    SYSTEM SYS_EXPORT_SCHEMA_04 EXPORT SCHEMA DEFINING 0
    SYSTEM SYS_EXPORT_SCHEMA_05 EXPORT SCHEMA DEFINING 0
    SYSTEM SYS_EXPORT_SCHEMA_06 EXPORT SCHEMA DEFINING 0
    SYSTEM SYS_EXPORT_TABLE_01 EXPORT TABLE DEFINING 0
    If I try to drop it, I've this error:
    SYSTEM@SPA3> exec dbms_scheduler.drop_job('EXPORT_FULL_20111118');
    BEGIN dbms_scheduler.drop_job('EXPORT_FULL_20111118'); END;
    ERROR at line 1:
    ORA-27475: "SYSTEM.EXPORT_FULL_20111118" must be a job
    ORA-06512: at "SYS.DBMS_ISCHED", line 178
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 544
    ORA-06512: at line 1
    I've tried doing expdp commands but was impossible:
    [oracle@serverpro ~]$ expdp system/xxxx attach=EXPORT_FULL_20111118
    Export: Release 10.2.0.3.0 - 64bit Production on Viernes, 18 Noviembre, 2011 11:59:13
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Release 10.2.0.3.0 - 64bit Production
    With the Real Application Clusters option
    ORA-31626: job does not exist
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
    ORA-06512: at "SYS.KUPV$FT", line 430
    ORA-31638: cannot attach to job EXPORT_FULL_20111118 for user SYSTEM
    ORA-31632: master table "SYSTEM.EXPORT_FULL_20111118" not found, invalid, or inaccessible
    ORA-00942: table or view does not exist
    Any ideas about how to kill them?
    Best regards,
    dbajug

    Hi Fran,
    Yes I tried it.
    These jobs doesn't appears on mgmt_job table:
    SYS@SPA3> select job_id, job_name, job_owner from sysman.mgmt_job where job_owner = 'SYSTEM';
    no rows selected
    But yes if I make a query over dba_datapump_jobs:
    SELECT owner_name, job_name, operation, job_mode, state, attached_sessions
    FROM dba_datapump_jobs WHERE job_name NOT LIKE 'BIN$%' ORDER BY 1,2;
    OWNER_NAME JOB_NAME OPERATION JOB_MODE STATE ATTACHED_SESSIONS
    SYSTEM EXPORT_FULL_20111118 EXPORT FULL DEFINING 1
    SYSTEM SYS_EXPORT_SCHEMA_01 EXPORT SCHEMA DEFINING 0
    SYSTEM SYS_EXPORT_SCHEMA_02 EXPORT SCHEMA DEFINING 0
    SYSTEM SYS_EXPORT_SCHEMA_03 EXPORT SCHEMA DEFINING 0
    SYSTEM SYS_EXPORT_SCHEMA_04 EXPORT SCHEMA DEFINING 0
    SYSTEM SYS_EXPORT_SCHEMA_05 EXPORT SCHEMA DEFINING 0
    SYSTEM SYS_EXPORT_SCHEMA_06 EXPORT SCHEMA DEFINING 0
    SYSTEM SYS_EXPORT_TABLE_01 EXPORT TABLE DEFINING 0
    SYSTEM SYS_EXPORT_TABLE_02 EXPORT TABLE DEFINING 1
    I found many DMxx processes (Coordinates the Data Pump job tasks performed by Data Pump worker processes and handles client interactions) but I can't kill the sessions or OS processes.
    How could I kill all these datapump jobs?
    Regards,
    dbajug

  • Long sys session active after rman backup completed

    Hi all,
    We use Oracle DB 11g in RAC and the Rman backups running on SLES 11 SP1.
    All days the backup jobs are executed normally, but, sometimes some SYS sessions (used during the backup, i think) remains ACTIVE by hours (day, weeks...)
    At this moment, we have 3 sessions running (actives) since Nov, 04. Their LOGON_TIME is the same backup job start time.
    The current statement is empty. I think that is relationed with the backup Job. The processes are ORAOxxx and there are sessions in ASM instance with the same LOGON_TIME.
    What can we DO? Kill these sessions?
    The last time we restarted the Oracle DB instance, but the "zombies" sessions came back soon, after a backup job. :(
    Thanks!

    Thanks,
    but I know how to query the sessions, I use Gv$session because it´s an oracle cluster.
    I Want to Know: What do we have to do with the long sessions? To kill? Simply?
    --> Below the query to see the sessions:
    'ACTIVE' or 'INACTIVE':
    SELECT 'kill -9 '
    || b.spid
    || ' # '
    || a.inst_id
    || ' - '
    || a.username
    || ' - '
    || a.program
    || ' - '
    || TO_CHAR (a.logon_time, 'DD-MM-YYYY HH24:MI:SS')
    || ' - '
    || TRUNC (a.last_call_et / 60 / 60, 0)
    || ' horas - '
    || a.status
    FROM gv$session a, gv$process b
    WHERE a.username IS NOT NULL
    AND a.last_call_et / 60 / 60 > 4
    AND a.status = 'INACTIVE'
    AND a.paddr = b.addr
    AND a.inst_id = 1
    ORDER BY a.last_call_et DESC
    ---------- The result is:
    kill -9 20516 # 3 - SYS - oracle@art (O003) - 04-11-2011 01:07:51 - 88 horas - ACTIVE
    kill -9 26562 # 3 - SYS - oracle@art (O003) - 04-11-2011 01:07:51 - 88 horas - ACTIVE
    kill -9 13213 # 3 - SYS - oracle@art (O004) - 05-11-2011 01:02:12 - 64 horas - ACTIVE
    kill -9 26021 # 3 - SYS - oracle@art (O004) - 05-11-2011 01:02:12 - 64 horas - ACTIVE
    kill -9 21749 # 3 - SYS - oracle@art (O004) - 05-11-2011 01:02:12 - 64 horas - ACTIVE
    kill -9 1844 # 3 - SYS - oracle@art (O005) - 05-11-2011 01:02:12 - 64 horas - ACTIVE
    kill -9 2214 # 3 - SYS - oracle@art (O005) - 05-11-2011 01:02:12 - 64 horas - ACTIVE
    kill -9 21759 # 3 - SYS - oracle@art (O005) - 05-11-2011 01:02:12 - 64 horas - ACTIVE

  • How to kill Active Data Request in DSO

    Hi all,
    I have 2 dsos ( A, B). Data loads from A to B.
    Now I have deleted data from DSO B by using option delete data ( did killed one running request by turing the status to RED).
    when I try to load data again to DSO B, it is not allowing me to execute the DTP.
    Message is Request 257.617 is stil processing.
    I am SAP BI 7.0 environment.
    Please suggest how to kill active request ( I am not seeing it RSMO/SM37).
    I tried to use Zombie Request FM, it didnt worked.
    Thanks All,
    Jason

    Srinivas,
    Thanks for the reply.
    When I go RSRQ
    I can see the request , the exception it is showing is CX_RS_FAILED logged.
    SM51, when try to kill the process it says
    SAP System Message:
    Work Process restarted; session terminated
    Apologies for earlier post messages saying that I did nt saw the message in RSMO, I can see it is in yellow process.
    Please suggest how to kill the processes .
    Apperciate your response..
    Thank you
    Jason

  • How to disable swapfile.sys on Windows 8?

    It's possible to disable pagefile.sys and hiberfil.sys, however, there does not appear to be information on how to disable
    swapfile.sys.
    The file swapfile.sys appears to be an additional paging file from Metro and I'd like to know if there is a way to disable it as well.

    hiberfile is EASY to get rid of
    1) disable fast start up
    2) disable hibernation
    3) disable hybrid sleep (this trips up most people) as hybrid sleep writes all the data as IF it's going to hibernate but then goes to sleep. This is in case of power failure. Then the system can resume from a hibernated state with no data/session loss
    No reason to disable pagefile.sys, it's been proven OVER and OVER that 100% disabling the pagefile system does more harm than good and creates instability in windows - even if you had 64TB of RAM.. many programs actually use and REQUIRE the pagefile to page
    out code thats idle.
    Even just a minimal 400MB pagefile on the C: drive will keep windows happy. That lets it make a mini dump if needed and allows programs that req a swap file to function normally.
    Swapfile.sys, you can not turn off. That's just part of Windows 8. I'm not sure WHY it's there.. I loaded a TON of metro apps, and they hogged 6GB of memory, and they were being swapped to my PAGEFILE. So I'm not understanding what it's there for

  • How to kill process in windows

    Hi,
    how to kill the process in windows.
    Thanks in advance

    >
    I already tried that one rmishra......
    but it was not killed.>
    I think you are trying to find something like "ps - ef" in Unix for windows? if yes then you can follow below:
    show processes
    C:\>tasklist
    Image Name                   PID Session Name     Session#    Mem Usage
    ========================= ====== ================ ======== ============
    System Idle Process            0 Console                 0         28 K
    System                         4 Console                 0        260 K
    smss.exe                     892 Console                 0        460 K
    csrss.exe                    952 Console                 0    396,948 K
    winlogon.exe                 976 Console                 0      5,944 K
    services.exe                1020 Console                 0     69,300 K
    lsass.exe                   1032 Console                 0      4,260 K
    svchost.exe                 1204 Console                 0     14,384 K
    svchost.exe                 1312 Console                 0     14,056 K
    svchost.exe                 1436 Console                 0     59,188 K
    snac.exe                    1488 Console                 0      1,600 K
    svchost.exe                 1656 Console                 0      6,668 K
    svchost.exe                 1744 Console                 0     10,656 K
    spoolsv.exe                 1864 Console                 0     12,560 K
    svchost.exe                  332 Console                 0      8,884 K
    jqs.exe                      576 Console                 0      1,424 K
    notepad.exe              4772 Console                 0      5,640 K
    .........................................ect
    C:\>taskkill /pid 4772
    SUCCESS: The process with PID 4772 has been terminated.-RMishra

  • Killing a user session?

    Running Essbase 11.1.2 ASO cube...occassionally, when I attempt to kill a user session in EAS, I get the status of "terminating". I try to kill the session using Maxl commands to no avail. I know as a last resort to use task manager to end the ESSSVR.exe process -but I have been burned by this in the past as the database gets corrupted. Does anyone know of a safe method to kill these "terminating" sessions? and why are some easy to kill through EAS and others are not?

    Hi ,
    You may find the following entries in the application log which means there were hung sessions.
    +[Mon Jan 24 13:23:46 2011]Local/ESSBASE0///Error(1013290)+
    Failed to logout user []: timeout while waiting for requests to die
    +[Mon Jan 24 13:23:46 2011]Local/ESSBASE0///Info(1056092)+
    Sessions logged out [0]
    However, it is difficult to say why these errors occur exactly. Usually Errors like this occur because there are still processes running in the memory when the next transaction is called.
    A vast majority of errors can be avoided by integrating pauses and by unloading the application and then reloading it after each calculation or member/data load.
    When you kill a session from the EAS Console for a particular user, you need to wait for some time before the process gets compeltely killed, which perform a restructure or data load or data aggregation. You need to wait untill the process gets killed completely before performing any operations on the application.
    Never allow any other user to modify outline or update data whenever the Calculation is running. This can cause the application to go into a hang state and whenever you try to kill and if it fails, then you need to kill the ESSSVR process manually. For instance, follow the below guide lines when running Calc scripts:
    1) Never allow any other user to indulge any activity on the application. It is preferred to schedule the batch script as a nightly process, if it is a large operation to avoid user interruption.
    2) In case of hangups, use the UNLOCKOBJECT command (ESSCMD) to first unlock all the objects that are accessed by the script (Check the technical reference guide for the command ).
    3) Next log off the user using the LOGOUTUSER command, but here if you have multiple sessions of the same user logged in the application, all the sessions will be logged off. In this case use the EAS console and kill all the requests of the user first and then kill the session of the user.
    Suggestion:
    Try to execute the following MaxL commands as batch script and check if the execution of Calculation script is successful:
    spool on to 'D:\output\backup.log';
    login admin mypassword on localhost;
    alter application <app_name> load database <db_name>;
    alter system logout session on database <db_name>;
    Shell Sleep 30;
    alter system kill request on database <db_name>;
    Shell Sleep 30;
    alter application <app_name> disable commands;
    Shell Sleep 30;
    Execute Calculation <app_name>.<db_name>.<calc_name>;
    Shell Sleep 30;
    alter application <app_name> enable commands;
    Shell Sleep 30;
    logout;
    exit;
    You can also refer the doc: How to Kill the Essbase Processes/Sessions in 'Terminating' Status (Doc ID 839411.1)
    Hope it helps...
    KosuruS

Maybe you are looking for

  • Is there a way to specify a number of vlookup results?

    I'm trying to make a kind of loose pivot-table-like date record lookup. Probably best if I show something analogous to what I'm wanting: Table1 Date BookRead 1/1/13 Les Miserables 1/2/13 The Hunchback of Notre Dame 1/3/13 Les Miserables 1/4/13 The Ph

  • Creative Cloud subscription and trial mode?

    I have a creative cloud subscription for a year, but business catalyst seems to only offer me a "trial mode". I'd like to set up a website (actually, a subdomain off of a current website hosted somewhere else). I was under the impression that we're g

  • HT1904 parental controls and shared libraries

    We're slowly migrating towards having all our music and movies in iTunes. One item that's crutial to this migration is proper parental controls, especially with shared libraries. They seem to work well on the kids iTouch devices and hide the content

  • Redo log on disk - do I need to multiplex them?

    Hello, I'm running my 10gR2 EE DB on SPARC server. Currently we are running whole DB on FC LUN mounted as /u01 My folder structure is (for example): /u01/oracle (binaries) /u01/oradata /u01/oraindex /u01/oraredo1 /u02/oraredo2 /u03/oreredo3 Well, the

  • Openldap exiting every 10 seconds.

    Dec 16 10:30:55 kjieth0 com.apple.launchd[1] (org.openldap.slapd995): Exited with exit code: 1 Dec 16 10:30:55 kjieth0 com.apple.launchd[1] (org.openldap.slapd): Throttling respawn: Will start in 10 seconds Dec 16 10:31:05 kjieth0 com.apple.launchd[1