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

LockService can fail under heavy load

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major 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

      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).

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

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

                Created:
                Updated:
                Resolved: