Uploaded image for project: 'mod-source-record-manager'
  1. mod-source-record-manager
  2. MODSOURMAN-548

Sorting causes module to crash

    XMLWordPrintable

Details

    • 3
    • Folijet Support
    • R3 2021

    Description

      We've often observed mod-source-record-manager module thrashing running OOM. On deeper investigation of what's causing this irrespective of giving plenty of resources, we observed that it's the sorting that causes the problem.

      Steps to reproduce:

      1. In Data Import app , load all log records (I tested with ~400 records)

      2. Sort on "Ended Running" column multiple times - Sorting as much as 4-5 times is sufficient to get the module to crash irrespective of the amount of memory/CPU given to the module

      Backend query sent : 

      GET /mod-source-record-manager/metadata-provider/jobExecutions?query=(status%20any%20%22COMMITTED%20ERROR%22)%20sortBy%20completedDate/sort.descending&limit=25

      Attached is the screenshot that shows the spikes in CPU and module crashes running OOM. 

      Here are the resources that are currently given to the module:
      CPU - 5120

      maxRAMPercentage - 85%

      metaspace - 5632M
      Xmx - 6144M
      memory - 6800M

      memoryReservation - 6144M

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Nosko Serhii Nosko
                sduvvuri Sobha Duvvuri
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases