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

100% CPU usage running Liquidator Bot #185

Open
sebastianloves opened this issue May 12, 2024 · 4 comments
Open

100% CPU usage running Liquidator Bot #185

sebastianloves opened this issue May 12, 2024 · 4 comments
Assignees

Comments

@sebastianloves
Copy link

The April 15th release of the Liquidator Bot seems to have an 100% CPU issue when its activated. Tried a few different computers and AWS servers and they all lead to 100% CPU usage on a single core.

Please fix because liquidator is unusable.

@sebastianloves sebastianloves closed this as not planned Won't fix, can't repro, duplicate, stale May 26, 2024
@wphan
Copy link
Member

wphan commented May 26, 2024

Thanks for reporting this, we run instances of the liquidator and dont see 100% cpu usage, can you share some more details on how you are running the bot?

@wphan wphan reopened this May 26, 2024
@wphan wphan self-assigned this May 26, 2024
@sebastianloves
Copy link
Author

I just git cloned the repository
and compiled using the Docker instructions.
Issue is the Usermap is like 60000 Users and it constantly checks if a user is liquidable and runs at 100% CPU usage. The one from March 2024 didn't do this. Only the one released after April 15th. I think a delay is missing somewhere in the code.

@wphan
Copy link
Member

wphan commented May 27, 2024

were you running the bot consistently? the number of user account has increased significantly in the last couple months, how many resources are you allocating to the docker container?

@sebastianloves
Copy link
Author

Yes been running for a few weeks. I tried various hardware such as ram up to 8GB, platinum xeon processors from AWS. Tried under different platforms of Linux. Only one core works with the bot and that core is always 100%. How large was the userMap in March 2024 compared to April 2024?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants