Cloud Usage consume loads of system resource in 4.20.1 #11157
-
problemAfter upgrading from 4.19.1 to 4.20.1, the cloud usage service and database continuously consume a significant amount of resources. The cloud usage consumes approximately 1 virtual CPU, 1.2 GB of memory, and database consumes 1 virtual CPU with 3.2 GB of memory. They never went down, additionally, the database bin log grows by 5 GB every day. versionsACS: 4.20.1 The steps to reproduce the bug
What to do about it?Need to find a way to optimize the system usage. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
Any story to tell about this @levindecaro ? |
Beta Was this translation helpful? Give feedback.
-
@DaanHoogland I seems found something about duplicate db entry from usage.log, i’m trying to clear all error before reopening this issue, stay tune.
|
Beta Was this translation helpful? Give feedback.
-
@DaanHoogland is it safe to truncate all table in cloud_usage db? |
Beta Was this translation helpful? Give feedback.
-
why all? it would re-generate everything which could take a long time. I would not do that unless you first found the usage_event that caused the duplicate. |
Beta Was this translation helpful? Give feedback.
-
@DaanHoogland just gave a try on truncate all tables, it has been ran for 3 days and the cpu went up once i got this error
|
Beta Was this translation helpful? Give feedback.
-
"3419-1-2024-03-18 02:58:28” this is the event that would have a duplicate. You would find it in cloud.usage_events. It would be a START event, type 1. VM id 3419, and start time "2024-03-18 02:58:28”. |
Beta Was this translation helpful? Give feedback.
-
@levindecaro , I converted this to a discussion as there is clearly an event to deal with. |
Beta Was this translation helpful? Give feedback.
"3419-1-2024-03-18 02:58:28” this is the event that would have a duplicate. You would find it in cloud.usage_events. It would be a START event, type 1. VM id 3419, and start time "2024-03-18 02:58:28”.