Checking for kernel lock contention in OEL 5.5

Is there a lockstat utility for Enterprise Linux 5? Or how could I check for kernel lock contention?
I found a lockstat rpm for RHEL and Centos 4 at http://packages.sw.be/lockstat/, but I could not find it in the distribution of version 5?
The rpm package installs, but the command "lockstat on" shows /proc/lockmeter: No such file or directory
I found an interesting document named "Linux Kernel Lock Profiling with LockStat" at:
http://dolavim.us/blog/2007/11/06/linux-kernel-lock-profiling-with-lockstat/
The document outlines the use of /proc/lock_stat, which is a text file - not using a "lockstat" utility.
From what I understand, I have to rebuild the kernel with "CONFIG_LOCK_STAT=y", or wait for kernel 2.6.24 to be released?
Do I have to build a custom kernel to check for lock contention, or are there perhaps other options?
Thanks!
Edited by: Markus Waldorf on Aug 28, 2010 8:55 PM

SQL> SELECT INDEX_NAME,INDEX_TYPE,UNIQUENESS FROM DBA_INDEXES WHERE TABLE_NAME='DATA_DATA';
INDEX_NAME INDEX_TYPE UNIQUENES
CIDX BITMAP NONUNIQUE
VIDX BITMAP NONUNIQUEYou have bitmap indexes here on a table being inserted into. Bitmap Indexes are another source of lock(and deadlock) in OLTP application. You said that the SQLloader was the unique active program but may be you are also triggering another procedure after the load. Procedure in which you might be using also automomous transactions and so on...
Check first if your table is subject to DML operation in a a multi-user concurrent accesss and in which case you have to get rid of those bitmap indexes
http://hourim.wordpress.com/2011/03/14/deadlock-%e2%80%93-part-1-bitmap-index/
Best regards
Mohamed Houri
www.hourim.wordpress.com

Similar Messages

  • When do consistency check for a sharepoint content databse : that RBSID in table AllDocStreams registered with RBS is invalid

    Hi
    In my sharepont farm  a web application configured with RBS and its working fine,
    when users upload pdfs the no of files are increased in RBS file system folder,
    but when i run Consistency check  before running RBS maintainer for cleaning garbage dta for this web applications content database , i faced below issue , its saying 
    C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\Maintainer>Microsoft.Da
    ta.SqlRemoteBlobs.Maintainer.exe -ConnectionStringName RBS_2 -Operation Consiste
    ncyCheck -ConsistencyCheckMode c
    Starting Maintainer tasks.
        Starting RBS consistency check with check only.
            The column <RbsId> in table <dbo.AllDocStreams>
             registered with RBS is invalid.
    and also when i  repair consistency checks its saying same message, that RBSID   in table AllDocStreams registered with RBS is invalid.
    and also its recommended to check consistency before cleaning garbage data from content database
    adil

    http://social.technet.microsoft.com/Forums/sharepoint/en-US/e9bda580-b9e7-48c5-b18c-485e016677a1/rbs-maintainer-not-cleanup-files-in-file-system-sharepoint-2010?forum=sharepointadminprevious
    The GC of RBS maintainer just purges BLOBs in SQL Server. And FILESTREAM GC is needed to purge the files in file system.
    http://www.sqlskills.com/BLOGS/PAUL/post/FILESTREAM-garbage-collection.aspx : (FILESTREAM GC)... runs as part of the database checkpoint
    process. This is what causes some confusion - an old FILESTREAM file will not be removed until after it is no longer needed AND a checkpoint runs. 
    Yes, In Simple recovery mode, just run SQL statement:
     CHECKPOINT;
     In  Full recovery mode, two transaction log with CHECKPOINT are needed. Detail in the link above.
    http://blog.avtex.com/2011/05/16/remote-blob-store-rbs-and-sharepoint-2010-part-2/
    If this helped you resolve your issue, please mark it Answered

  • Checking for a locked purchase order.

    We are running SRM 4.0 SRM Server 5.0 with a 4.7 R/3 backend in extended classic mode.
    I'm looking for a way to check if a purchase order is locked.  By locked I'm referring to the purchase order being modified by another individual.  Since we are running extended classic mode, I'm only interested in business object type BUS2201.  I do not want to set a lock, I just want to inquire if a lock is set.  Is there a function module that will fit this need?  Or is there a table I could query to get this information.
    Best regards,
    Shawn O'Connor

    I am not sure of the function module, which reports if a given PO is locked! but I have a alternate way.
    Transaction : SM12 (locks)
    Enter the table name as : CRMD_ORDERADM_H
    When you execute, it lists all the lock entries for rows in this table with the details of the user.
    As you know all the business objects in SRM is stored with GUID, you can use the GUID displayed to find out which PO is locked, by opening transaction SE16 and the same table CRMD_ORDERADM_H and the GUID number. You will now get the purchase order number.
    Just for your information
    CRMD_ORDERADM_H  - Header table for all the business documents in SRM
    CRMD_ORDERADM_I   - Item table for all the the business document headers in table CRMD_ORDERADM_H
    Do reward points if useful.
    Thanks
    Kasee Palaniappan

  • FYI: Apple provides a method for checking for Activation Lock

    Apple have provided a method of checking before purchase that an iOS device isn't Activation Locked.
    http://www.idownloadblog.com/2014/10/01/activation-lock-status-check/
    Basically you just go to iCloud.com/ActivationLock and enter the IMEI number and a catchpa.

    I wasn sure if any Apple reps trolled the boards or not. That is the exact message I sent to Feedback. If enough users send the same message, maybe they'll set something up.
    Apple is at risk for losing loyal product loyal customers.
    i want to get my son an iPad, but really cannot afford a new one. Even if I buy one with a cracked screen and repair it, I still run the risk of not being able to use it. I know there's a process the previous owner can go through, but sometimes it can or won't get done! especially if it goes through a reseller. Apple will still make some money from me in the App Store and through iTunes, just not through their product store yet.

  • Checking for New Thread Content

    Other than "subscribing" to a thread, is there an efficient way to figure out whether there's any new content for any of the threads in "My Posts"? As my number of posts increases, it's taking longer and longer to scan that list for updated content.
    Thanks for any suggestions.

    Tuttle wrote:
    I was hoping for something like a page with "My Updated Posts". I guess there isn't one.
    There isn't. Have you tried loading My Posts pages that are populated with more than the standard 10 posts, e.g.,
    http://discussions.apple.com/myposts.jspa?start=0&range=100
    which will load your last 100 posts? (You can insert any number after range= .)
    Thanks for the suggestion.

  • Ok so if i lost an audio book and it tell me to check for down loadable content but i know i down loaded it like five years ago and want to redownload it...how do i do this without having to repurshace it?

    help me please..my last ipod that had this book on it was stolen and now i cant find it...its a book that i love

    Hello marksman23,
    If the audiobook was purchased from the iTunes Store, I'd suggest checking the 'Purchased' category in the iTunes Store to see if it can be redownloaded. The following article provides further instructions for both iTunes on a computer and for iPhones/iPads/iPods, as well.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/HT2519
    Cheers,
    Allen

  • Lumia 800 - Check for Sim-lock

    Dial ##782# and "Call"
    Happy to have helped forum with a Support Ratio = 42.5

    Does not work for me,has scoobyman tried it too??
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • Property Inspector for Locked Content Doesn't Set Content Dirty

    I have a property inspector for my locked content. When the
    user sets a new value in the inspector, the orig attribute of the
    MM:BeginLock tag is updated appropriately. Unfortunately,
    Dreamweaver doesn't see that change as having modified the document
    in a meaningful way, so it doesn't enable the Refresh Design View
    buttons. Hitting F5, the hotkey for Refresh Design View, has no
    effect.
    Do you have a suggestion how I can make Dreamweaver think the
    content is modified?

    Hello,
    without going into the specifics of your question, have you checked the following SDN blog?
    /people/dolores.correa/blog/2007/09/18/sending-e-mail-from-support-message
    I hope this helps.
    Best regards,
    Miguel Ariñ

  • How to check for locks on a table inside a program?

    Hi Gurus,
    Kindly let me know how to check for a lock on a particular table inside a program.I know that we can see locks on table held by a user from transaction SM12 but my requirement is to check for lock on MARA/MARC/MARV if lock exist then bypass my code else do the code.
    Kindly suggest or give code to check for a lock on a particular table.
    Thanks in advance
    Sudipto

    FAQ.  Locked.

  • Check for All Content Areas privilege

    Hi,
    Does anyone know hoe to check for the All Content Areas (or All
    Pages) privilege, which can be set in the Privileges tab of the
    Edit Group portlet?
    I know how to check for explicit folder access:
    IF wwsec_api.is_privilege_at_least
    ( p_object_type_name => wwsec_api.FOLDER_OBJ
    , p_name => pin_siteid || '/' || pin_folderid
    , p_privilege_code => wwsec_api.FOLDER_VIEW
    THEN
    htp.p(piv_foldername);
    END IF;
    This function does not consider, however, that administrators
    can see everything.
    How can I check if a user or his/her group has the All Content
    Areas privilege?
    Herman

    This resolved itself over time.

  • Check for required fields before locking subforms and submitting

    Hello,
    I have a 5-page form with many questions, to be completed by the original requestor and multiple approvers.  What I'm trying to do is have the original requestor's Submit button on p. 3 lock the input on the first three pages, but first check if all those fields have some content.  I currently have all the fields on pp. 1-3 set to "Required" in the object properties, but my script still locks them when there's is one empty one.  Here's what I have:
    //Lock portions of form
    Page1.access = "readOnly"
    Page2.access = "readOnly"
    Page3.access = "readOnly"
    //Save document, allow user to change name
    app.execMenuItem("SaveAs");
    //Submit via e-mail
    Submit_REAL.event__click.submit.target = "mailto:[email protected]" +
    "?subject=Subject text" +
    "&body=Message";
    Submit_REAL.execEvent("click");
    The automatic check for required fields happens after the pages get locked.  I would like the check to stop the process before it locks the pages.  Is there any way to check all at once that all "Required" fields on those pages have some content before allowing the script to proceed?  I know how to script it to manually check the 50 or so questions on those pages, but I would like to avoid that.  Thanks for any help.

    There are a few problems that I can see from the start. First, your code is going to pick up EVERY node that exists on these pages. Some of those nodes will not have a rawValue, and some will not have an actual name. As an example, you can take your code and create a text field to dump all of the names of the nodes that you get when you pull in all of the nodes this way. Here's an example:
    The result:
    Now, the question is, do you have a consistent naming convention for your fields that might be empty? That could be text fields, radio button lists, etc. For instance, I always prefix the names of objects in order to more easily keep track of what they are in scripts. Since I'm doing that, I can check the name of the field for tf, nf, rbl, cb, or whatever I have included to make sure that I'm checking an actual field before I check for things like rawValue.
    var nodeName = oNodes.item(nNodeCount).name;
    if (nodeName.indexOf("tf")>-1 || nodeName.indexOf("rbl") > -1 || /*check other field types*/) {
      //insert your code to check for empty answers here
    As for your line 7 issue. The syntax problem is that you've put extra parentheses in your if statement. Take out the parentheses that are just before and after the or "||".
    *This is my fourth attempt to reply. Something was going on with Adobe/Jive earlier, I suppose.

  • Enq: TX - row lock contention in Select without for update

    We have deployed a new Version of our Software on the test-system of our customer.
    While the software runs fine on our Systems (Oracle EE 10.2.0.4 as well as Oracle EE 11.2.0.2 on EL 5.4 x86_64) it runs sluggish on our Customer's system (Oracle EE 10.2.0.4 on Solaris 10 x64).
    During analysis of the problem I came across this:
    SQL ID:  Plan Hash: 3934983510
    SELECT ts.message_id_t235
      FROM t235_time_series ts,
           t238_timeseries_reported tsr
    WHERE ts.time_series_id_t235 = tsr.timeseries_id_t238
       AND tsr.message_id_t238 = :b2
       AND ts.current_state_t235 = :b1
       AND ROWNUM = 1
    call     count       cpu    elapsed       disk      query    current        rows
    ======= ======  ======== ========== ========== ========== ==========  ==========
    Parse        0      0.00       0.00          0          0          0           0
    Execute      8      0.01     *137.55*          0          8          5           0
    Fetch        8      0.00       0.00          0         60          0           8
    ======= ======  ======== ========== ========== ========== ==========  ==========
    total       16      0.01     137.55          0         68          5           8
    Misses in library cache during parse: 0
    Optimizer mode: CHOOSE
    Parsing user id: 90     (recursive depth: 1)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ========================================   Waited  ==========  ============
      *enq:* *TX* *=* *row* *lock* *contention*                 281        0.64        *137.01*
    ********************************************************************************As you can see the statement is very primitive. The Tables used are very huge (100M+ Rows) but have no bitmap indexes. How can this statement wait on enq: TX = row lock contention?
    Thanks in advance!
    Best regards,
    Sven
    Edited by: user12182396 on Feb 4, 2011 5:43 AM
    Edited by: user12182396 on Feb 4, 2011 6:02 AM

    user12182396 wrote:
    We have deployed a new Version of our Software on the test-system of our customer.
    While the software runs fine on our Systems (Oracle EE 10.2.0.4 as well as Oracle EE 11.2.0.2 on EL 5.4 x86_64) it runs sluggish on our Customer's system (Oracle EE 10.2.0.4 on Solaris 10 x64).
    During analysis of the problem I came across this:
    SQL ID:  Plan Hash: 3934983510
    SELECT ts.message_id_t235
    FROM t235_time_series ts,
    t238_timeseries_reported tsr
    WHERE ts.time_series_id_t235 = tsr.timeseries_id_t238
    AND tsr.message_id_t238 = :b2
    AND ts.current_state_t235 = :b1
    AND ROWNUM = 1
    call     count       cpu    elapsed       disk      query    current        rows
    ======= ======  ======== ========== ========== ========== ==========  ==========
    Parse        0      0.00       0.00          0          0          0           0
    Execute      8      0.01     *137.55*          0          8          5           0
    Fetch        8      0.00       0.00          0         60          0           8
    ======= ======  ======== ========== ========== ========== ==========  ==========
    total       16      0.01     137.55          0         68          5           8
    Misses in library cache during parse: 0
    Optimizer mode: CHOOSE
    Parsing user id: 90     (recursive depth: 1)
    Elapsed times include waiting on following events:
    Event waited on                             Times   Max. Wait  Total Waited
    ========================================   Waited  ==========  ============
    *enq:* *TX* *=* *row* *lock* *contention*                 281        0.64        *137.01*
    ******************************************************************************** As you can see the statement is very primitive. The Tables used are very huge (100M+ Rows) but have no bitmap indexes. How can this statement wait on enq: TX = row lock contention?
    Are either of these tables subject to distributed transactions through database links ? If so then it is possible for a select statement to wait on a TX enqueue in mode 4 if it's trying to read a block which is subject to change by another tranaction that is stuck between the PREPARE and COMMIT phases of a "2 phase commit".
    However, I have to say that don't know whether this would show up as: "enq: TX - row lock contention" or "enq: TX - contention". If you monitor the system for a while - checking v$lock for lock types TX, or query v$active_session_history (if you're licensed to use it) you may be able to check the lock mode.
    If this is the problem then it's generally indicative of a networking problem of some sort - possibly simple congestion because of excess traffic.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    To post code, statspack/AWR report, execution plans or trace files, START and END the text with the tag {noformat}{noformat} (the word "code" in lowercase, curly brackets, no spaces) so that the text appears in fixed format.
    There is a +"Preview"+ tab at the top of the text entry panel. Use this to check what your message will look like before you post the message. If it looks a complete mess you're unlikely to get a response. (Click on the +"Plain text"+ tab if you want to edit the text to tidy it up.)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Can't get Firefox to load at all after trying fixes from support web site. Have checked for lock file, processes running, reboot, reinstall. NO JOY.

    I'm running Vista for operating system on an HP laptop that's about 2 years old. I've installed all current updates.
    I've always used Firefox. It started crashing and creating processes but not launching. Went to support and scoped it out -- there was a lock file my profile directory. I deleted it, and Firefox started loading.
    Used it a few times -- closed the app each time on exist as per suggestions on support site info. One time -- back to square one, wouldn't load, just created a process. Reboot, ending process, checking for lock file, reinstalling -- all unsucessful.

    Brian
    Below is from using a SIP build.  It does offer G722, but it's way down on the list so it's never used...
    m=audio 32678 RTP/AVP 0 8 18 102 9 116 101
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:18 G729/8000
    a=fmtp:18 annexb=no
    a=rtpmap:102 L16/16000
    a=rtpmap:9 G722/8000
    a=rtpmap:116 iLBC/8000
    a=fmtp:116 mode=20
    a=rtpmap:101 telephone-event/8000
    Taking Sreekanth's suggestion to try a Skinny build, I get the following when I make a call.  It offers codecs in the order I SET THEM AND ONLY THE CODECS I SET!  YAY!
    m=audio 19374 RTP/AVP 9 0 101
    a=rtpmap:9 G722/8000
    a=fmtp:9 bitrate=64
    a=rtpmap:0 PCMU/8000
    a=rtpmap:101 telephone-event/8000
    Using a Skinny build on the phones also solved other issues.  The phones use G711 when the whole path supports G711 and G722 when the whole path supports G722.  It doesn't always use G722 and rely on transcoding for the call paths that can't use it.  It's fantastic..  The phones also receive the QoS tagging that I set and that seems to result in better audio quality than on the SIP builds, which never did get those settings.  Finally, it even solved a slow Exchange 2013 answer issue I have been experiencing for quite some time.  I practically fell out of my chair when I saw everything that was fixed just by switching...
    Cisco, PLEASE FIX YOUR SIP BUILDS!  It's insane how the SCCP builds work perfectly and the SIP builds don't, especially with how much these phones cost..  I was thinking of possibly acquiring some 9951s, which are SIP only.  I'm a little leery about that at this point.  If they have the same kinds of issues as the SIP builds for the 7975g, there's no SCCP alternative to use..
    Sreekanth
    Thank you for suggesting a Skinny build..  That was about the only thing I didn't try.  I am happy beyond belief that this is working so well now, even though the SIP builds should be just as well developed as the SCCP ones.

  • Check-In not locked for structure element in SOLMAN_DIRECTORY

    Hi,
    In  the solution manager, as a pre-requisite of the one of the upgrade project,
    all the BPS nodes should be checked in the solution directory.
    But we are not able to check in .
    Getting below  error message.
    " Check-In not locked for structure element PD-PPD of type  with object_no 0000847512 "
    Message no. MAINT_PR046
    Can anyone please suggest what could be the issue.

    Please ensure whether both projects have the same budget profile. Other than that you need to carefully investigate how the cost was posted onto both projects in the first place. Please note in case of procurements, budget is only checked at the commitments level (search the forum as this has been discussed before).
    In case this does not resolve your issue, revert back with the budget profile settings.
    Regards,
    Ammar

  • How to check RBS maintainer is running or not and how to stop the RBS maintainer for a specific content db.

    HI
    how to check RBS maintainer is running after deleting orphan blobs and  while deleting the blobs from rbs storage,
    and also how to stop the RBS maintainer for a specific content db.
    when I run below query  I found the orphancleanup value true
    SELECT [config_key],[config_value] FROM [mssqlrbs_resources].[rbs_internal_config]
    where config_key='orphan_cleanup_in_progress'
    adil

    HI
    the  RBS maintainer was run from one of web front end server  And for one content database , that fine
    but I  now know this information only this did by other administrators.
    Now I did not found this Maintainer running in windows task scheduler, but blobs are decreasing from content database RBS storage folder, and  also I found this maintainer running I checked from  when  run sql queriy in  sql
    server
    SELECT
    [config_key],[config_value]
    FROM
    [mssqlrbs_resources].[rbs_internal_config]
    where
    config_key='orphan_cleanup_in_progress’
    it  given me true
    here now  I want to stop this orphan cleane up , what settings and script I will run?
    adil

Maybe you are looking for

  • Opening multiple pages at the same time

    Hi. We are currently developing a few custom pages which we are calling from Oracle Applications responsibility. The pages are registered as individual functions and we call them from the applications menu structure. However when we have more than 1

  • Export to Excel and Txt File

    Is there a way to export a report to more than one option? In other words, I need to be able to provide an option to report to excel and report to a txt file in a tilde-delimited format.

  • Button not appearing on quiz pass

    Hi All, I'm trying to get a button to appear on a quiz when someone passes successfully.  This button will be a link to another .swf file that will pulled into the project in Aggregator.  The link is working fine, but I cannot get the smartshape to a

  • Data collection task execution in UCMON

    Dear Friends I am using flexible upload method and load from data streams for data upload. Both methods are assigned to my data collection method which in turn is assigned to the task. When i execute the data collection task in consolidation monitor

  • Changing hostname on Callmanager 6.1 and generate new SSL

    I'm looking to change the hostname of our Callmanager because of a change in the naming convention for all our servers. Is it as easy as it seems or are there any precautions I need to be aware of? My thoughts were to just Change hostname under Cisco