Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linupdate keeps looping dnf history for information after install #82

Open
Cloud-Kid opened this issue Jan 6, 2025 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@Cloud-Kid
Copy link

Hi again,

After succefully joining an host using linupdate and repomanager, I saw a high CPU load (50%) on my host, after checking "top" for used process, I saw DNF so no worries for now, seems like standard usage when DNF is checking packages.

30 minutes later CPU usage still at 50% and DNF is still doing things, after logs inspection I can see linupdate looping through dnf history to get linupdate package history (I guess ?), my host is pretty old so maybe with the amount of logs it's normal (Over 200).

Later I can then see that it started looking for logs history non stop, after reaching my latest logs (n°200 or so) it started looping again from logs n°1

How can I prevent that bug ? Maybe is it possible to add an option to look only for the last 10 logs or so ? It looped over logs at least twice now

SPECS :
OS: Red Hat Enterprise Linux release 8.10 (Ootpa) x86_64
Host: VMware7,1
Kernel: 4.18.0-553.22.1.el8_10.x86_64
Uptime: 27 days, 33 mins

@lbr38
Copy link
Owner

lbr38 commented Jan 6, 2025

Okay I will have to do some tests again with a RHEL 8 host. I think this is an issue with the latest version. For now you can stop the linupdate service to avoid this behavior:

systemctl stop linupdate

I'll reach you through discord for additional tests.
Thanks

@lbr38 lbr38 self-assigned this Jan 6, 2025
@lbr38 lbr38 added the bug Something isn't working label Jan 6, 2025
@lbr38 lbr38 mentioned this issue Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants