Cpu load spike because of pulp core

Problem: : CpU load is getting high because of pulp core

Expected outcome:: cpu loads needs to be normal

**Foreman and Proxy versions:**3.12

Foreman and Proxy plugin versions:

Distribution and version:. Foreman katello 3.12

Other relevant data:

You really have to be more specific. Noone understands what you consider “high” or “normal” nor knows what is happening.

Sorry… we have installed 3.12 forman katello on rocky 9. We have separate vms for this katello setup. One is for db(postgresql), second one is for forman katello and 3 rd one is for smart proxy.

We could see that cpu and memory is very high on the forman katello server. Could see that services which are related to katello are getting killed because of the memory error.

Error: foreman.service: Failed with result ‘oom-kill’.

Please let me know any details required for more information.

We installed foreman server with 8 gb cpu and 64 gb ram but still we could see the memory issue.

You really have to give details. Processes use CPU and memory. ps gives you the details. You have to post the details which process uses too much memory. That fact, that a process has been killed by oom doesn’t mean that process uses too much memory. It just couldn’t get any more memory. Other processes may be the reason why there is no free memory left…

1 Like

From top command, we could see that user forman is utilising 100% with the command sidekiq. As the server is facing memory issue we are not able to login to the server. Even we tried increasing cpu and memory on the server. In the console itself, we are not able to type any commands.

100% usually only means it is using one core. Check with ps to find out.

How do you run top on the server then? top shows the memory usage and you can sort by memory. ps also shows the effective memory usage.

1 Like