Shake warning - Disc cache locked...

I'm learning Shake on a G5 - 2.3ghz, OS 10.5.6 leopard - It seems to crash a lot and when I reboot it a box appears saying - Warning, disc cache is locked due to another Shake UI running or a previous session crashing. Remove lock or move current cache? I've tried reinstalling Shake but the warning continues to appear. How do I get rid of this or unlock the disc cache? Thanks

See here:
http://www.digitalrebellion.com/blog/posts/shakeerror_disk_cachelocked.html

Similar Messages

  • Oracle RAC 9i LMD library cache lock top wait event

    We are experiencing the library cache lock as our top wait event. Even thought the box is currently idle, The Global Enqueue Service Daemon (LMD) is taking up CPU cycles. The background process is also logging to trace "skgxpdocon: warning outstanding accept handle count has reached new high water mark 245000".
    Any help would be appreciated.
    Thanks

    There is a new patch for this - check out p4673610 on metalink. We have also experience the problem in 9.2.0.8.

  • Help! 13" macbook pro will not boot.  Tried running disk repair from HD recovery, not repairable.  Trying to reinstall OSx Lion, says disc is locked.  Do I have to erase the drive and lose everything?  I also have Bootcamp installed, will boot to Win OK

    Tried running disk repair from HD recovery, not repairable.  Trying to reinstall OSx Lion, says disc is locked.  Do I have to erase the drive and lose everything?  I also have Bootcamp installed, will boot to Windows no problem.

    Hotrodmkviii,
    try rebooting in Recovery mode, but when you reach the Mac OS X Utilities menu, run Terminal (from Utilities in the menu bar) instead. Inside the Terminal window, give it the following command, and then press the Return key:
    diskutil list
    Please include in your reply the output from that command.

  • I am trying to reinstall OS X Mavericks but the disc is locked.

    I Am trying to reinstall os x mavericks after reading pressing alt on start up is the right thing to do. I have followed the instructions upto the point where it has asked me to select the disc. The disc is locked and only has 117mb left. Can someone advise me what to do To get everything working again?

    Repartition and re-format the disk provided it has not failed. If you have a free external drive to use, then you can try cloning the drive to the external to save your data. Otherwise, it is lost:
    Clone using Restore Option of Disk Utility
      1. Open Disk Utility in the Utilities folder.
      2. Select the destination volume from the left side list.
      3. Click on the Restore tab in the DU main window.
      4. Select the destination volume from the left side list and drag
           it to the Destination entry field.
      5. Select the source volume from the left side list and drag it to
          the Source entry field.
      6. Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.

  • A lot of  'library cache lock'

    Hi there,
    My database has a lot of contention in 'library cache lock', more than 90% of all events.
    I'm trying to find the query that is waiting for this event, but the sql_id in v$session not exist in v$sql.
    SQL> select sql_id, count(*)
    2 from gv$session
    3 where EVENT ='library cache lock'
    4 group by sql_id;
    SQL_ID COUNT(*)
    4gd6b1r53yt88 49
    47
    SQL> select *
    2 from gv$sql
    3 where sql_id = '4gd6b1r53yt88';
    no rows selected
    The oracle version is 10.2.0.3 RAC.
    Can somebody help me?
    Thanks,
    Everson

    Hi rjaf
    Following this post, I got the table SYS.KOTTD$.
    I think this is some kind of Oracle internal problem, but I don't know what.

  • Row cache lock aquired for more than 1 hour

    Hi could some please let me know what is ROW CACHE LOCK, and at what situations does this happen. And also what does dc_histogram_defs enqueue means, what happening internally??
    I am facing with a problem in our d/b(11g r1) with a code running more that 1 hr, but nothing is happening in our objects actually, only info i can see is ROW CACHE LOCK for more that 3000 seconds:
    select p1text,p1,p2text,p2,p3text,p3 from v$session where event = 'row cache lock' and sid=37
    P1TEXT     P1     P2TEXT     P2     P3TEXT     P3
    cache id     16     mode     0     request     3
    select type,parameter,count,usage,gets,getmisses,scans,scanmisses,flushes,dlm_requests from v$rowcache where cache#=16
    TYPE     PARAMETER     COUNT     USAGE     GETS     GETMISSES     SCANS     SCANMISSES     FLUSHES     DLM_REQUESTS
    PARENT     dc_histogram_defs     4,497     4,497     12,426,122     1,446,845     0     0     210,040     1,706,801
    SUBORDINATE     dc_histogram_data     1,965     1,965     8,995,128     500,660     0     0     91,463     0
    SUBORDINATE     dc_histogram_data     297     297     3,500,090     46,371     0     0     6,591     0

    hi,
    could you take a look at this topic
    row cache lock
    regards,

  • Library cache lock in statspack report

    Hi,
    We have some production issues on my database from long back. So i had taken snapshot and applied in one of analyzer tool.
    In the TOP 5 Events they mentioned that library cache lock is 94.46 % , i am afraiding by seeing this number. And in there analyzing report they didn't populate the recommendations.
    Please suggest me why the library cache lock showing 94.46%.
    And i am also adding the other statistics as well.
    Please go though and suggest me into right way.
    Top 5 Events
    Event     Percentage of Total Timed Events
    library cache lock      94.46%
    PX Deq: Table Q Normal      1.51%
    db file sequential read      1.23%
    direct path read      1.06%
    PX Deq Credit: send blkd      .55%
    Wait Events
    Event     Waits     Wait Time (s)     Avg Wait (ms)     Waits/txn
    library cache lock      45,777     137,044.09     2994     10.6
    PX Deq: Table Q Normal      1,263,860     2,196.88     2     292.2
    db file sequential read      80,826     1,780.39     22     18.7
    direct path read      244,968     1,543.45     6     56.6
    PX Deq Credit: send blkd      3,200,312     794.01     0     739.8
    PX Deq: Execute Reply      529     570.82     1079     0.1
    db file scattered read      42,356     524.47     12     9.8
    library cache pin      93     286.44     3080     0.0
    PX qref latch      96     90.05     938     0.0
    log file sync      4,685     71.9     15     1.1
    Instance Activity Stats
    Statistic     Total     per Second     per Trans
    SQL*Net roundtrips to/from client     277,935     975.2     64.3
    consistent gets      8,112,050     28,463.3     1,875.2
    db block changes      446,986     1,568.4     103.3
    execute count      31,369     110.1     7.3
    parse count (hard)      65     0.2     0.0
    parse count (total)      30,083     105.6     7.0
    physical reads      3,041,562     10,672.2     703.1
    physical reads direct      2,624,892     9,210.2     606.8
    physical writes      151,245     530.7     35.0
    physical writes direct      77,161     270.7     17.8
    redo writes      4,933     17.3     1.1
    session cursor cache hits      17,868     62.7     4.1
    sorts (disk)      2     0.0     0.0
    sorts (memory)      2,006     7.0     0.5
    table fetch continued row      72,024     252.7     16.7
    table scans (long tables)      323     1.1     0.1
    table scans (short tables)      3,371     11.8     0.8
    8 Recommendations:

    You need to figure out what session is holding the blocking library cache lock.
    Here's a script that will help you do that:
    select decode(lob.kglobtyp, 0, 'NEXT OBJECT', 1, 'INDEX', 2, 'TABLE', 3, 'CLUSTER',
    4, 'VIEW', 5, 'SYNONYM', 6, 'SEQUENCE',
    7, 'PROCEDURE', 8, 'FUNCTION', 9, 'PACKAGE',
    11, 'PACKAGE BODY', 12, 'TRIGGER',
    13, 'TYPE', 14, 'TYPE BODY',
    19, 'TABLE PARTITION', 20, 'INDEX PARTITION', 21, 'LOB',
    22, 'LIBRARY', 23, 'DIRECTORY', 24, 'QUEUE',
    28, 'JAVA SOURCE', 29, 'JAVA CLASS', 30, 'JAVA RESOURCE',
    32, 'INDEXTYPE', 33, 'OPERATOR',
    34, 'TABLE SUBPARTITION', 35, 'INDEX SUBPARTITION',
    40, 'LOB PARTITION', 41, 'LOB SUBPARTITION',
    42, 'MATERIALIZED VIEW',
    43, 'DIMENSION',
    44, 'CONTEXT', 46, 'RULE SET', 47, 'RESOURCE PLAN',
    48, 'CONSUMER GROUP',
    51, 'SUBSCRIPTION', 52, 'LOCATION',
    55, 'XML SCHEMA', 56, 'JAVA DATA',
    57, 'SECURITY PROFILE', 59, 'RULE',
    62, 'EVALUATION CONTEXT',
    'UNDEFINED') object_type,
    lob.KGLNAOBJ object_name,
    lk.KGLLKMOD lock_mode_held, lk.KGLLKREQ lock_mode_requested,
    ses.sid,
    ses.serial#,
    ses.username
    FROM
    x$kgllk lk,
    v$session ses,
    x$kglob lob,
    v$session_wait vsw
    WHERE
    lk.KGLLKUSE = ses.saddr and
    lk.KGLLKHDL = lob.KGLHDADR
    and lob.kglhdadr = vsw.p1raw
    and vsw.event = 'library cache lock'
    order by lock_mode_held desc
    -Mark

  • Java Real-Time System HotSpot(TM) Client VM warning: unable to lock pages i

    Error:
    Java Real-Time System HotSpot(TM) Client VM warning: unable to lock pages into memory
    I'm getting this error, although I have assigned all the needed privilegs to root and I am logged in as root. I have done everything described in the guidelines to get the privilegs, but still this warning occurs.
    But my application still works completely with no appreciable differences.
    So my question is: Does this warning affect the performance of my application?? Or can I live with this warning?
    Gordon

    Determinism is an important issue in my application. That's why page locking should be active in my application. When I'm determining the ScopedMemory size via VM like:
    ... -XX:ScopedSize=500000000 ...Then page locking works with a size of 500 mb very well. But when I try to set the ScopedSize value to 1 gb, then the exception (unable to lock page...) is thrown. So it seems as if I had all the required rights, but the huge size is not supported.
    The System has about 6 gb of DDR2Ram and minimum 5 gb are free during starting the VM. So are there any other parameters except ScopedSize that I can change, to allow the VM to lock memory with a size of about 1 gb? Or where is the problem with locking such big sizes?
    Thanks,
    Gordon

  • Sessions hangs with library cache lock

    Der all,
    11.1.0.7 rac on solaris 10
    Our workflow session yesterday hanged on a particular step the session was waiting on a library cache lock (by using query select event,p1,p2 from v$session where sid=<my_sid>;)
    when I checked the blocking session , using the note 122793.1 and http://oracle-study-notes.blogspot.com/2009/05/resolving-library-cache-lock-issue.html and http://oracle-study-notes.blogspot.com/2009/05/find-session-holding-library-cache-lock.html .
    I found that
    SQL> SELECT SID,USERNAME,TERMINAL,PROGRAM FROM V$SESSION
      2   WHERE SADDR in
      3    (SELECT KGLLKSES FROM X$KGLLK LOCK_A
      4     WHERE KGLLKREQ > 0
      5       AND EXISTS (SELECT LOCK_B.KGLLKHDL FROM X$KGLLK LOCK_B
                     WHERE KGLLKSES = '&SADDR_OF_BLKING_SESS'
      6    7                   AND LOCK_A.KGLLKHDL = LOCK_B.KGLLKHDL
      8                   AND KGLLKREQ = 0)
      9    );
    Enter value for saddr_of_blking_sess: 0000000770E494E0
    old   6:                  WHERE KGLLKSES = '&SADDR_OF_BLKING_SESS'
    new   6:                  WHERE KGLLKSES = '0000000770E494E0'
      SID USERNAME        TERMINAL   PROGRAM
      817 SYS             UNKNOWN    oracle@tabsdb07
                                      (J002)
      828 SYS             UNKNOWN    oracle@tabsdb07
                                      (J001)after killing the session, the library cache locks still remained.when I ran trace on the session
    select /*+ all_rows ordered */ A.rowid, :1, :2, :3
    from
    "DBMRPT"."DBM_BIAUTO_SUSP" A , "DBMRPT"."DBM_CDR_FILE_HEAD" B where(
      "A"."CDR_TYPE" is not null and "A"."FILE_ID" is not null) and(
      "B"."CDR_TYPE" (+)= "A"."CDR_TYPE" and "B"."FILE_ID" (+)= "A"."FILE_ID")
      and( "B"."CDR_TYPE" is null or "B"."FILE_ID" is null)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.01       0.01          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      0.01       0.01          0          0          0           0
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: SYS   (recursive depth: 3)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      row cache lock                                  5        0.00          0.00
      db file sequential read                   295932636        0.07       5066.63
      gc cr grant 2-way                          727813        0.02        233.95
      latch: gc element                              80        0.00          0.00
      latch: gcs resource hash                      870        0.00          0.00
      latch free                                      2        0.00          0.00
      gc remaster                                     9        2.00         12.91
      gcs drm freeze in enter server mode             9        0.54          2.08
      latch: object queue header operation           66        0.00          0.05
      latch: cache buffers chains                    15        0.03          0.20
      resmgr:internal state change                   63        0.10          5.30
      latch: cache buffers lru chain               1260        0.00          0.01
    ********************************************************************************Please guide
    Kai
    all this time sql_id for the session remanined in the sql :
    ALTER TABLE DBMRPT.DBM_BIAUTO_SUSP ENABLE CONSTRAINT DBS1_DCFH_FK ..

    hi..
    Go through [http://orainternals.wordpress.com/2009/06/02/library-cache-lock-and-library-cache-pin-waits/]
    Anand

  • Live cache lock handler not available

    Hi we are frequently getting this error Live cache lock handler not available and this causes our process chains to fail.
    Can anyone please explain in details what this error refers to and direct to any good links for error resolution.

    Hello,
    1. As SAP customer, you could create the SAP message to the component BC-DB-LCA and get SAP support.
    2. If you set the flag 'activate livecache lock' in tcode /SAPAPO/MSDP_ADMIN for your planning area on SCM system, please run the connection test for the LEA connection in /ndb59 to check the LEA connection settings.
       The liveCache installation guide has additional information about LEA connection.
    Regards, Natalia Khlopina

  • Can anyone tell me where the default location is for the disc cache in After Effects CS6?

    I recently changed the location of the disc cache in After Effects CS6 but I failed to empty the cache before changing the location and I need to delete all of the old cached files. Windows 7 Home Premium 64bit OS.
    Thanks in advance!
    Message was edited by: rotrasr

    C:\Users\<User Name>\AppData\Roaming\Adobe\Common.
    Media Cahce folder for Database entries and Media Cache Files folder for cache files.
    C:\Users\<User Name>\AppData\Local\Temp for Disk Cache.

  • Unknown SQL eating CPU time and library cache locks

    Hello everyone,
    we are seeing a lot of activity when opening new connections to the database from PHP web server and the time is being spent on a SQL which in Enterprise manager is reported as UNKNOWN and selecting the GV$SQL view for this sql_id yields nothing, the SQL is not there. We do not have any logon triggers.
    I was wondering, if I know this SQL_ID (it's "c5brdpybgqss6"), can I see what it actually does? Can I trace it somehow?
    Our environment is:
    Oracle Database 11g Release 11.1.0.7.0 - 64bit Production
    With the Real Application Clusters option
    Two RAC instances, running RedHat ES 5 64bit
    Clients are PHP, using oci8, using Instant Client 11.1.0.7
    Thanks for any ideas how to further analyze this,
    Michal.

    Unfortunately no, it is NULL (see below). I tried metalink, but I don't know what to search for. I'll probably have to file a ticket with the support.
    select username, sid, serial#, status, sql_id, prev_sql_id, event, seconds_in_wait
    from gv$session
    where sql_id='c5brdpybgqss6'
    order by username, sid, serial#;
    USERNAME SID SERIAL# STATUS SQL_ID PREV_SQL_ID EVENT SECONDS_IN_WAIT
    IMWC2 945 64434 ACTIVE c5brdpybgqss6 latch: shared pool 5
    IMWC2 1020 38821 ACTIVE c5brdpybgqss6 library cache lock 2
    973 7519 ACTIVE c5brdpybgqss6 class slave wait 0
    992 20 ACTIVE c5brdpybgqss6 EMON slave idle wait 3
    1004 5 ACTIVE c5brdpybgqss6 EMON slave idle wait 5
    1006 1195 ACTIVE c5brdpybgqss6 EMON slave idle wait 3
    1014 2635 ACTIVE c5brdpybgqss6 EMON slave idle wait 3
    1020 2755 ACTIVE c5brdpybgqss6 EMON slave idle wait 3
    1026 3967 ACTIVE c5brdpybgqss6 EMON slave idle wait 2
    1027 3039 ACTIVE c5brdpybgqss6 EMON slave idle wait 2
    1042 805 ACTIVE c5brdpybgqss6 EMON slave idle wait 3
    1044 481 ACTIVE c5brdpybgqss6 EMON slave idle wait 3
    1046 300 ACTIVE c5brdpybgqss6 EMON slave idle wait 1
    1053 2 ACTIVE c5brdpybgqss6 Streams AQ: waiting for time management or cleanup tasks 209637
    1055 8 ACTIVE c5brdpybgqss6 Streams AQ: emn coordinator idle wait 4
    1056 10 ACTIVE c5brdpybgqss6 Streams AQ: emn coordinator idle wait 0
    1059 6 ACTIVE c5brdpybgqss6 Streams AQ: waiting for time management or cleanup tasks 0

  • GATHER_STATS_JOB is causing library cache lock events (blocking)

    Hi,
    I am running an Oracle 10g (2.0.3) RAC configuration on a Solaris 5.10 SPARC-64 box, and a couple of days ago I started to receive blocking alert due a library cache lock even caused by the scheduled GATHER_STATS_JOB. Is there any way to identify which is the table/object that is not being able to be process by the GATHER_STATS_JOB?
    Regards,
    Alberto

    I found this on metalink:
    How to find the blocker
    a. find the p1raw value of the 'library cache pin', e.g.
    select sid, event, p1raw from v$session_wait where event = 'library cache pin';
    SID EVENT P1RAW
    150 library cache pin 288822D4
    select * from dba_kgllock where kgllkreq > 0;
    KGLLKUSE KGLLKHDL KGLLKMOD KGLLKREQ KGLL
    2CB1F978 288822D4 0 3 Pin
    b. find the locked object via x$kglob, e.g.
    select kglnaown, kglnaobj from x$kglob where kglhdadr = '288822D4';
    KGLNAOWN KGLNAOBJ
    SYS DUMMY

  • Library cache locks

    Hi,
    There were some locks acquired in our production database by two sessions. On investigation we found that one session was waiting for library cache lock and another for transaction enque lock. No entries were made into the alert log. We waited for 45 minutes and killed the first session. We are facing this problem for the third time
    Details of first session
    Lock type: library cache lock
    recent sql:
    Begin PKNBPREINSERT.PKNBPREINSERT_Submit(Result=>:1,hdcbovcvgpremiummethod=>:2,hdvbank_hdvcheck_chekyorn=>:3,hdvbacstpid_ref=>:4,hdnwfpldiid_ref=>:5,txtnumcvgterm=>:6,hdcbovplan=>:7,hdnnumofrows=>:8,cbovreason_desc=>:9,hdnumopt_id_ref=>:10,txtnumbaaccountno=>:11,hdvnfooption_type=>:12,txtdtcdrecddate=>:13,txtnumcvgfaceamt=>:14,result_msgs=>:15,txtpeothercomment=>:16,txtnumcontract_id_ref=>:17,lblvnfodopdivopt=>:18,hdndeleteflag=>:19,hdnumnfoopt_ref=>:20,hdnumbank_check_id_ref=>:21,hdcbovcvgpremiummode=>:22,txtvcontract_id_code=>:23,hdncbovpol_type=>:24,cboannuityoption=>:25,limit_yorn=>:26,txtotherscomments=>:27,hdlblvdopdivopt=>:28,hdnuserid=>:29,hdvopt_chekyorn=>:30,txtvbabankname=>:31,txtnumbenefitid=>:32,cbovcvgpremiummethod=>:33,hdnoptmedflag=>:34,txtdtcc_procdt=>:35,cbonumcvgpremiumterm=>:36,hdnincdocid_code=>:37,hdnumnfoopt_id_ref=>:38,chknumcvgjcaseindicator=>:39,txtnumproposalno=>:40,txtnumplanbenefitid=>:41,chknumcvgadvprm_ind_yorn=>:42,hdnnumofoptrows=>:43,txtdtcvgeffectdat
    Details of second session
    Lock type:transaction enqueue lock
    Mode wanted: exclusive
    recent sql:
    update tab$ set ts#=:2,file#=:3,block#=:4,bobj#=decode(:5,0,null,:5),tab#=decode(:6,0,null,:6),intcols=:7,kernelcols=:8,clucols=decode(:9,0,null,:9),audit$=:10,flags=:11,pctfree$=:12,pctused$=:13,initrans=:14,maxtrans=:15,rowcnt=:16,blkcnt=:17,empcnt=:18,avgspc=:19,chncnt=:20,avgrln=:21,analyzetime=:22,samplesize=:23,cols=:24,property=:25,degree=decode(:26,1,null,:26),instances=decode(:27,1,null,:27),dataobj#=:28,avgspc_flb=:29,flbcnt=:30,trigflag=:31,spare1=:32,spare2=decode(:33,0,null,:33),spare4=:34,spare3=:35
    where obj#=:1
    Awaiting your response
    Regards,
    sudhir.

    Per Metalink Note 122793.1
    SELECT SID,USERNAME,TERMINAL,PROGRAM FROM V$SESSION
    WHERE SADDR in
      (SELECT KGLLKSES FROM X$KGLLK LOCK_A
       WHERE KGLLKREQ = 0
         AND EXISTS (SELECT LOCK_B.KGLLKHDL FROM X$KGLLK LOCK_B
                     WHERE KGLLKSES = 'saddr_from_v$session' /* BLOCKED SESSION */
                     AND LOCK_A.KGLLKHDL = LOCK_B.KGLLKHDL
                     AND KGLLKREQ > 0)
      );

  • Kill a session that is holding library cache lock!!

    Hi, all.
    What will happen if I kill a session that is holding library cache lock??
    Currently, the session is pending with library cache lock.
    I cannot see any locks in v$lock.
    If I kill the session, will oracle release the library cache lock??
    Thanks and Regards.

    What output do you get from the following script?
    liblock.sql:
    select decode(lob.kglobtyp, 0, 'NEXT OBJECT', 1, 'INDEX', 2, 'TABLE', 3, 'CLUSTER',
                          4, 'VIEW', 5, 'SYNONYM', 6, 'SEQUENCE',
                          7, 'PROCEDURE', 8, 'FUNCTION', 9, 'PACKAGE',
                          11, 'PACKAGE BODY', 12, 'TRIGGER',
                          13, 'TYPE', 14, 'TYPE BODY',
                          19, 'TABLE PARTITION', 20, 'INDEX PARTITION', 21, 'LOB',
                          22, 'LIBRARY', 23, 'DIRECTORY', 24, 'QUEUE',
                          28, 'JAVA SOURCE', 29, 'JAVA CLASS', 30, 'JAVA RESOURCE',
                          32, 'INDEXTYPE', 33, 'OPERATOR',
                          34, 'TABLE SUBPARTITION', 35, 'INDEX SUBPARTITION',
                          40, 'LOB PARTITION', 41, 'LOB SUBPARTITION',
                          42, 'MATERIALIZED VIEW',
                          43, 'DIMENSION',
                          44, 'CONTEXT', 46, 'RULE SET', 47, 'RESOURCE PLAN',
                          48, 'CONSUMER GROUP',
                          51, 'SUBSCRIPTION', 52, 'LOCATION',
                          55, 'XML SCHEMA', 56, 'JAVA DATA',
                          57, 'SECURITY PROFILE', 59, 'RULE',
                          62, 'EVALUATION CONTEXT',
                         'UNDEFINED') object_type,
           lob.KGLNAOBJ object_name,
           lk.KGLLKMOD lock_mode_held,
           lk.KGLLKREQ lock_mode_requested,
           ses.sid,
           ses.serial#,
           ses.username
      FROM
           x$kgllk lk,
           v$session ses,
           x$kglob lob,
           v$session_wait vsw
      WHERE
       lk.KGLLKUSE = ses.saddr and
       lk.KGLLKHDL = lob.KGLHDADR
       and lob.kglhdadr = vsw.p1raw
       and vsw.event = 'library cache lock'
    order by lock_mode_held desc
    /It should provide a locking graph of all sessions that are blocked on the 'library cache lock' event, and what sessions are the blockers.
    Hope that helps,
    -Mark
    PS It needs to run as SYSDBA, due to the X$KGLLK reference.

Maybe you are looking for