Excessive CPU usage in a system with no user activity

Description

This Jira refers to the https://folio-org.atlassian.net/browse/MODSOURMAN-454#icft=MODSOURMAN-454

Module versions: mod-source-record-manager-3.1.0-SNAPSHOT.388 , mod-inventory-16.4.0-SNAPSHOT.358 .

In my test I am using vb.cpus=12 and vb.memory=18000. No swapping happening.

The system at boot deploys all modules.. This takes a couple of minutes. After this point, no user is logged on. However, the CPU load is 2 (200%) in total for the system. What is measured here is "TIME" .. Ie the total CPU usage user+system for a process.

After 10 minutes, the system is surely turned to "idle" state and the top 4 contenders are: mod-source-record-manager 3:44 (3 minutes 44 seconds), mod-inventory 3:39, kafka 2:07, mod-pubsub-server 0:57. .. further down is list is Okapi 0:17.

After one hour the stats are as follows: mod-source-record-manager 24:22, mod-inventory 24:01, Kafka 11:41, docker-proxy 5:50, mod-pubsub-server 3:25. Down the list is okapi with 0:37.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie BreauxJune 24, 2021 at 8:42 AM

PTF put a listener on Iris bugfest after this fix was merged. Per mod-source-record-manager v3.0.8 on Iris BF seems to be using less CPU while idling, around 50% compared to 90% previously. Other modules's CPU utilization when idle is around 30% or less. This is a big improvement. Closing this as complete.

Ann-Marie BreauxJune 21, 2021 at 4:57 AM

Moved to Awaiting (Iris Bugfest) Hotfix deployment

Ann-Marie BreauxJune 7, 2021 at 8:09 AM
Edited

Moving this to Awaiting release

Once PTF env has Iris Hotfix 2, please test there.

Ann-Marie BreauxJune 2, 2021 at 2:30 PM

and other CPTers: https://folio-org.atlassian.net/browse/MODSOURMAN-454#icft=MODSOURMAN-454 rquires a small change in MODINV as well. We're marking this ticket with the same hot fix and CPT approval as https://folio-org.atlassian.net/browse/MODSOURMAN-454#icft=MODSOURMAN-454

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Folijet

Fix versions

Release

R1 2021 Hot FIx #2

CSP Approved

Yes

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created June 1, 2021 at 8:33 PM
Updated June 24, 2021 at 8:42 AM
Resolved June 7, 2021 at 8:09 AM
TestRail: Cases
TestRail: Runs

Flag notifications