Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1403

Deadlock executing multi-threaded read/write on a number of files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • 2.8.0.Final
    • 2.7.0.Final
    • None
    • None

      When performing a series of multi-threaded read/write operations on a number of files, using an increasing number of concurrent threads, the repository hangs.
      The tests peformed are (in both case, the problem has been reported)

      Test 1 - Populate an empty repository with a small subset of production data (~50 files) sourced from a JackRabbit repo. Run a multi-threaded read/write test against data. Test done over WebDAV.

      • Each thread is assigned a file, reads the file content from the repo, and writes the file content out to a new node (<filename>.copy), rinse and repeat 50 times with a small break in between iterations. Measure min/max/avg read and write times per file.
      • The test is executed for 1-150 threads in 10 thread increments (1, 10, 20, ...)

      Test 2 - Populate an empty repository with 100 directories (nodes) and 1,000 small files (2K) of varying content in each, for a total of 100,000. Measure time it takes to populate. Population done over WebDAV. Run a multi-threaded read/write test against data (same as test 1). Test done over WebDAV.

              hchiorean Horia Chiorean (Inactive)
              hchiorean Horia Chiorean (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: