Skip to main content
Solved

IFS CLOUD - DB Server CPU 99%


Forum|alt.badge.img+11

Hi,

Our DB server is spiking at 99% really often, I tried to find the problem, but I cannot find. Only thing, I run a top session and had this below. it seems that IAM session is taking all my cpu:

 

Any ideas?

We are running IFS Cloud 23.2.5, on-premises 

Thanks,

 

Gianni Neves

Best answer by Erik Dahllöf

Hi Gianni,

We have a few known problems with events in IAM.

Can you check how many records there are in ifsiamsys.EVENT_ENTITY and in ifsapp.IAM_LOGIN_EVENT_DETAIL and how many that are older than 30 days? The records there should be cleanded and only store the last 30 days.

We have a post about IAM_LOGIN_EVENT_DETAIL here:

https://community.ifs.com/framework-and-experience-101/the-iam-login-event-details-table-having-data-stacked-up-without-getting-cleaned-up-properly-cleaning-these-dangling-event-details-hangs-the-upgrade-40211

/ Erik

View original
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+6
  • Hero (Employee)
  • 73 replies
  • Answer
  • June 18, 2024

Hi Gianni,

We have a few known problems with events in IAM.

Can you check how many records there are in ifsiamsys.EVENT_ENTITY and in ifsapp.IAM_LOGIN_EVENT_DETAIL and how many that are older than 30 days? The records there should be cleanded and only store the last 30 days.

We have a post about IAM_LOGIN_EVENT_DETAIL here:

https://community.ifs.com/framework-and-experience-101/the-iam-login-event-details-table-having-data-stacked-up-without-getting-cleaned-up-properly-cleaning-these-dangling-event-details-hangs-the-upgrade-40211

/ Erik


Forum|alt.badge.img+11
  • Author
  • Hero (Customer)
  • 117 replies
  • June 18, 2024

Thank you @Eri Takada .

The table IAM_LOGIN_EVENT_DETAIL has 6 million lines older than 30 days.

The table EVENT_ENTITY has 200k lines.

Thanks,

 

Gianni neves


Shehan Chandrasekara
Sidekick (Employee)
Forum|alt.badge.img+8

Hi,

 

You can use IAM_EVENT_UTIL_API.CLEAR_IAM_EVENTS database task to clean the tables and speedup the execution.

 

Regards,

Shehan


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings