Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1912

LockService can fail under heavy load

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • 3.6.3
    • 3.6.1
    • None
    • Hide

      Run the attached test client program with increasing levels of contention:

      I almost always see at lease one failure with:
      --item-range 2
      and
      --lock-duration 0

      Show
      Run the attached test client program with increasing levels of contention: I almost always see at lease one failure with: --item-range 2 and --lock-duration 0

    Description

      Once in awhile, the LockService will get stuck acquiring a lock.
      These seems to occur most often when two threads are simultaneously trying to acquire the same lock. (i.e.: exact same millisecond on a server with multiple processors).

      Attachments

        1. LockServiceTestClient.java
          12 kB
        2. LockServiceTestClient.java
          11 kB
        3. logFile
          10 kB
        4. logFile2
          8 kB
        5. runLockServiceTestClient.sh
          0.2 kB
        6. udp.xml
          3 kB

        Activity

          People

            rhn-engineering-bban Bela Ban
            cgentile_jira Chris Gentile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: