Sessions Hanging Problem

Dear All,
Many of the users have requested me to kill their sessions because of not respoding/hang. Mostly this occur when they run or compile thier SPs (Stored Procedures). I noted that all procedures that contain an insert to a log (user created table) table hangs. As per my opinion table may be lock or in use by any other. But how I can find it. Please let me to know.
Aqeel Nawaz

Suppose session hangs during execute the procedure.
To pass the procedure name in below query.
select
V$S.LOGON_TIME,
V$S.SID,
V$S.SERIAL#,
V$S.USERNAME,
V$S.PROCESS,
V$P.SPID,
V$S.STATUS,
V$S.MACHINE,
V$S.CLIENT_INFO
from v$session V$S,
v$process V$P
where V$S.PADDR = V$P.ADDR
and V$S.SID in
(select distinct sid from v$access where object like ('%&obj%'))
order by
V$S.PROCESS,
V$S.SID;
Regards
RajaBaskar

Similar Messages

  • Bw web report plugin http session hangs at the server side

    Hi,
    I am having problems when closing the browser of a BW web report. After I closed the browser by going File->close, I ran SM04 and found out the Plugin HTTP session hangs at the server side.
    How can we terminate the Plugin HTTP session at the server side when user closes the internet browser?
    I did implement a logoff function at my web template, if user clicks on the logoff, the Plugin HTTP session is terminated at server side correctly. But As you know, 50% of time user will close the report by closing the internet browser instead of clicking the logoff. That leaves lots of hanging Plugin HTTP sessions at our server side.
    By the way, we actived our BEX service at the SICF.
    Thanks for help!
    JA

    Hi
    If you want to avoid a blank page with logoff button, add opener=0
    <a href="<SAP_BW_URL CMD='LOG_OFF' ~command='logoff'
    >" onClick="javascript:window.close(opener=0);">Log off</a>
    If you want to close the session via X, use this code:
    create a sapscript function
    function closeSession()
    logoff()
    window.unload=CloseSession()
    However, the Plugin HTTP session isn't killed.
    Regards

  • Getting session hang When calling Function from SQL query

    Hi All,
    I am using Oracle 8.1.7.4.0. I have a fucntion in a Package and I am calling it from the SQL query. When I am firing the query my oracle session is going to hang position and I am not able to any thing. I have to kill the session.
    But this same thing is working fine in Oracle 9.i.
    There are no out parameter and no DML, DDL and DCL statement in this fucntion.
    Could you please get back me what is the problem on it.
    Regards
    SUN

    Check why your session hangs.
    Just a few ideas:
    * Blocking locks?
    * Endless loop?
    * Performance (maybe it is just slow in orac8i and you have to wait a bit longer). Check the execution plans of the SQL statements in your function.
    * Don't use a function, but direct SQL, it is faster in both versions.

  • Database session hangs

    Guys I am using PL/SQL developer for my sql testing/debugging .I am debugging a pl/sql procedure (inside a package) and after coming out when I try to debug it again my session hangs.I contacted my dba and did the trick for me by killing the existing sessions,but didnt give me how the session was not killed in the first place after I come out of one debugging session.He is giving me a vague answer.Please let me know if u guys have any clue about it.
    thanks
    Manohar

    It's not the problem on the Oracle side. Oracle or the DBA is not at fault.
    I personally never had that problem.
    How are you debugginhg?
    Do you finish your debug session completely?
    After finishing your debugging, Can you do a disconnect from the Developer successfully?

  • Can't modify package. Session hangs?

    I am trying to modify a DB package. I copied and pasted code to the package spec and saved using SQL*Navigator "Commit Changes" button. But the SQl*Navigator gets stuck. Even restarting the DB did not help.

    Kamran Agayev A. wrote:
    user12240205 wrote:
    Yes, same result. It SQL*Plust session hangs. My problem is, why does it happen even AFTER DB stop/start??? After stopping a DB all locks should be released, right?May be there's a user which automatically uses that package when database starts. Check V$ACCESS view and please do not shutdown the database in order to modify the package
    [Kamran Agayev A. |http://kamranagayev.wordpress.com] (OCP 9i/10g)
    Author of the upcoming book - *"Oracle Backup & Recovery: Expert secrets for using RMAN and Data Pump"*
    http://www.rampant-books.com/book_1002_rman_backup_recovery.htm
    After about 10 minutes I get this error:
    7:11:10 PM  Error: ORA-04021: timeout occurred while waiting to lock object ABS.PKG_HYBRID_PP_TOPUPThere is no other Oracle user in the system but me.
    V$ACCESS shows that the pkg is accessed by user ABS. It is using user ABS we are trying to modify the pkg. Thing is nobody is actually doing anything to the package and there is nothing that makes the package lock at DB startup.
    Any help would be grately appreciated.

  • How to reduce buffer busy waits, session hanging due to buffer busy waits

    Hi,
    How to reduce buffer busy waits, session hanging due to buffer busy waits.
    Thanks,
    Sathis.

    When I see through enterprise manager I see lot of
    tables with buffer busy waits.
    Is there any way by table name we can check the
    blocks info.
    The simple way is to look at the SQL statement and corresponding table name?
    P1=file#, P2=block#. You can extract segment name(table or index) using this info.
    Query v$bh like following:
    SQL> select file#, block#, class#, objd from v$bh where file# = P1 and block# = P2;
    SQL> select object_name from all_objects where object_id = <objd>;See following doc:
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_1051.htm
    Or you can dump block:
    SQL> alter system dump datafie <P1> block <P2>;Some excerpts from block dump:
    scn: 0x07df.17e70782 seq: 0x01 flg: 0x04 tail: 0x07822301
    frmt: 0x02 chkval: 0x61d0 type: 0x23=PAGETABLE SEGMENT HEADER
    Map Header:: next  0x00000000  #extents: 1    obj#: 55881  flag: 0x10000000>
    Can we do something at table level that will reduce
    the waits.
    Yes, some methods are known. But before thinking of that, you must verify which block class and which access are involved.
    Typo... always. :(
    Message was edited by:
    Dion_Cho

  • Hanging problem

    My Nokia asha 200 is hanging very frequently and gets switched off automatically and does not switch on by pressing the power button.Every times it happens I have to remove the battery & then the phone starts and after 5-10 min it again hangs.
    Also I went to Nokia care 4 times where they just updated the software but after this the hanging problem still continues and It's really frustrating me. I have tried all solutions such as hard and soft reset but the problem continues.
    I am really fed up with this problem so please provide me a good solution as soon as possible. Software version-11.95 Product code of my phone is-059K959

    To prevent freezing or lagging/slow response on any BlackBerry, the most important practice you can adopt is to be sure to CLOSE applications when you are finished using them.
    If you just hit the red "end call" key to go back to the home screen the application actually stays open and running in the background. If you do this repeatedly you will have lots of apps open and consequently your memory will get used up. Lack of memory is the biggest reason your BlackBerry slows to a crawl or locks up. If you get into the habit of actually using the menu key to close the applications this will at least slow down this memory-clogging process. You still may have to do a battery pull or use the "Quickpull" app once in a while when things get slow.
    To check what applications are running on your device in the background, press the Menu key then choose Switch Applications. You will see the icons of each application there.
    So now, check your applications running in the background. There are commonly four or five applications that will always be running (Messages, Call Logs/Phone, BlackBerry Messenger, Homescreen, and the Browser; there are other third party applications such as BeeJive, and BlackBerry Alerts which will also run in the background which you cannot close if you want them to operate). Make certain that the browser is NOT on an active webpage (open the browser and choose Menu > Close). Close any other applications that do not need to be running (the camera or a game you were playing or Google Maps).
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Oracle session Hangs while calling one package function

    Hi all,
    We are a facing a interesting scenario in our code. Consider that you have 2 pakcages(A,B). Ecah packages is having more than 5 functions in it.
    1. A.function1() makes a call to B.function1() - is working fine
    2 .B.function1() calls B.function2() - is working fine
    3. B.function2() calls A.function2() - oracle session hangs in this call.
    If I copy the scropt code from A.function2() and inline (put) it in B.function1() , the execution gets completed without an issue.
    If i run the A.function2() seperatly it works fine. Only calling from B package it is failing.
    If anyone knows the rooot cause of the issue, please let me know.
    Thanks and regards,
    Vijayaraja

    Do you have/use global variables?
    Moving code from one package to another doesn’t necessarily result in logically equivalent programs. In the version of your program which “hangs” you may have crafted an infinite loop. Instrument your code and see if you really stall or just keep going on forever.
    With this kind of cross-dependencies in your libraries you almost ask for trouble.

  • Web Browser Session Hangs When Opening More Than One Query

    Let me start off with the BW environment - we are on BW release 3.50 at support pack level 12. Basis component is release 6.40 at level 12.
    We have a situation where a web browser HTTP session "hangs" while trying to execute more than one query at a time. A role based menu template is used by our end-users to run queries. The end-users execute a query and while it is running, try to execute a second query. But the web browser for the second query does not become available until the first query is complete.
    The following is the detailed steps of the process:
    1. From my user menu in BW, expand the folder for Role Z: BW_REPORTING and click on SAP_BW_TEMPLATE – Web_Role_Menu. Web browser window will open.
    2. Within the ZTPL_Role_Menu_Reporting web page, select Role Z: FUNC_DEVELOPER > BW Reporting > Controlling > Profitability Analysis > Detail query. (Role Z: FUNC_TESTER can be used in this example as well, just follow the same menu path).  Click on Detail and another web browser window will open for the query selection screen.
    3. On the selection screen for the CO-PA Detail query, enter values and execute the query.
    4. While the CO-PA Detail query is executing, go back to the first opened web browser for ZTPL_Role_Menu_Reporting and go to Role Z: FUNC_DEVELOPER > BW Reporting > Controlling > Profitability Analysis > Operating Concern query. Run the CO-PA Operating Concern query while the CO-PA Detail query is still executing. The session for the Operating Concern “hangs” and does not display the selection screen until the CO-PA Detail query has completed. Once the Detail query has finished, then the second query, CO-PA Operating Concern will then display the selection screen for the query.
    Our end-users expect the second query to display the selection screen immediately with no delay. The end-users do not want to wait for the selection screen of the second query. They want to be able to execute the queries simultaneously.
    Our Basis group as tried adjusting some parameters and has implemented OSS note 853396, but the issue still exists.
    Is it a BW issue or is it an issue with MS Internet Explorer?
    Your input and suggestions are appreciated.
    Thanks.

    Hi.
    I had a somewhat similar issue earlier when I tried closing BW Query windows, it would freeze and wouldn't close. I resolved the issue by turning off some BHO (Browser help Objects) in IE.It can be done using IE>Tools>Manage Add-Ons
    Cheers
    Anand

  • Session Expired Problem on OAS

    Hi,
    I often got the error message "Session Expired" displayed on my HTML page that serves Java Servlet output after some time.
    I attempted to look through my Servlet source codes but it has no problem. In fact, it runs perfectly well on JavaWebServer2.0.
    This seems to be a OAS problem. I'm using Oracle Application Server 4.0.8.1. I attempted changing the Servlet Cartridge's "Max session idle time" and observe the behaviour. It appears that when "Session Expired" problem happened, my servlet class never get called. OAS simply display a "Session Expired" message on the web page.
    How can I avoid this? How can ask OAS to call my servlet's doGet() to create a new session when it expired?
    Anyone knows how?
    null

    Hi,
    OAS has a limitation of 300 seconds. This value cannot be changed. See the release notes.
    One possible way to get around this is to use the Oracle Supplied Session class and use the time feature in that.
    This a big limitation and I am not sure why Oracle designed the product this way.
    null

  • Import DNG Hang Problem with OSX not with Win 7

    I installed LR4 on both my Mac Pro and Win7 machines for comparison purposes and have encountered a problem with importing files and converting to DNG format with OSX that is not present with Win7.
    OSX machine
    first gen Intel MAC Pro + 8GB memory multiple disks OSX 10.7.2
    Win7 Machine - latest set of MS patches installed
    Sandy Bridge Processor I5 2500K + 8GB memory multiple disks
    On both machines:
    I am importing 12 test images taken with my Nikon D300 and using a Kingston USB card reader
    Copying to a data only disk that does not contain the catalog
    Convert to DNG with copy to a sub-directory
    Renaming the files to DSC_0001.DNG sequence format
    Standard Previews
    Dont import suspected duplicated enabled
    No develop settings
    Metadata with a simple copyright statement
    OSX seemed to import the 12 DNG's ok as they all showed up on the Library grid screen... but the import seemed to hang before completion and no CPU was being consumed - this was prior to the previews being generated
    I waited for 10 minutes with no CPU activity and then cancelled the Lightroom task, at that point LR4 generated the previews and everything looks fine, I can modify the DNG images and everything seems normal with them
    With Win7 everything went as expected and completed in under 1 minute
    I have screen shots available and I can reproduce this behaviour consistently on OSX

    UPDATE - Further testing
    I tried to import the images into LR3 and it worked fine on OSX (I don't have LR3 on WIN7)
    However when under LR4 the hanging problem also occurs if I do a straight copy as well (ie: Dont convert to DNG format)

  • HT201210 I have 4s facing hang problem after updating when i dicline the call the keypad geting locked ,touch stop working unable to unlock the phone .then what i can do i restart the phone with pressing home key & power key together then i am able to ace

    I have 4s with 16GB storage capacity using IOS 7.1.2.
    Facing hang problem after updating when i decline the call the keypad getting locked ,touch stop working unable to unlock the phone .
    Then what i can do i restart the phone with pressing home key & power key together then i am able to access it.
    Kindly resolve the issue as soon as possible
    Ashish
    [email protected]

    Did you already try to set it up as a new device, as explained in this article?
    iOS: How to back up your data and set up your device as a new device

  • N79 hanging problem

         I purchased N79 1.5 years back. Now a day, it hangs so frequently. It is annoying me too much as most of the time while trying to call during phone book search it hangs. I tried the below solutions to make clear
    I reset the phone to factory settings using *#7370#. Once it hanged and it was not rebooting at all as caution given while doing factory reset. Then second time it was fine. No improvement…
    Phone reset + Removed all the content from Memory card (4Gb) and formatted from phone. Then copied, only picture, video, message folders… No improvement…
    Kindly suggest me how I can avoid hanging problem…

    I have also same problem with my Nokia N79, I just cancelled sensor for automatic themes from cover. Just open back cover & stick some paper or plastic cello tape on four hole marks of covers wich r sensor for automatic themes to change colour of back cover same as theme colour. From 2 days I feel my mobile working fine without hanging ! so try it, all the best.

  • Extreme hang problem in Xperia T2 Ultra Dual after Lollipop Update.

    Extreme hang problem in Xperia T2 Ultra Dual after Lollipop Update.Extreme and Irritating hang problem occurs after I have updated T2 Ultra Dual Phone with Lollipop Version.Kindly assist and also if Boot the device will it be solved via flashboot and unlock the bootloader?? Waiting for revert.Kindly revert.

    Flashmode or Fastboot mode is only for those that wish to root and install a custom Rom or firmware, if that's what you want to do then head over to XDA - Howwever have you tried a system repair as this usualy fixes issues after an upgrade.
    Performing a system repair using PC Companion will often fix issues - This will factory reset your phone and erase all data so best to backup before you begin
    Switch off your phone and unplug from Pc (Hold volume up and power for around 10 seconds)
    Start PC Companion and select Support zone then Update my phone/tablet then in Blue Repair my phone/tablet and follow the on screen instructions - When prompted connect your phone still switched off holding volume down or back button - This should start the repair or reformat process
    If you are using Windows 8/8.1 or a 64bit operating system then adjust the settings for PC Companion and run in compatibility mode and chose Windows 7 or XP

  • Iphone4 getting soomuch hanging problem

    hello
           i am using Iphone4 from feb-18 2014 from that day i am facing with soo much hanging problem .I had submitd  the phone to service center for 6 to 8 times .there are formating the phone and there are keeping for observation for 2 to 3 days everying time there are solving the problem i am also having the videoes of hanging the phone . i am not satisfied with this phone .every day 4 to5 times the hanging problem is getting .
    I am geeting irritation on the service people aslo .if ur people not able to solve the problem .I will produce the bill and phone in court with hanging vidieos. if u want the videos i will send that also to ur mail in this there is no video attachment

    the problem of hanging is with n72.
    i m also frustrated wuth n72.
    regarding the nokia care center is located in lower parel in phoenix mills.just get to phoenix and ask anybody about nokia care centre u will get there.

Maybe you are looking for