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

daemon.js: --xp-mode tries to allocate a server with no free RAM for hacking #391

Open
alainbryden opened this issue Oct 21, 2024 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@alainbryden
Copy link
Owner

I suspect that on occasion, targets are re-allocated to a new server which is still running hack scripts for another server, and then complains when there's no ram free on that server for scheduling:
image

It's not a huge deal and it will eventually have free ram, so we should perhaps quiet these notifications, but I should get to the bottom of this and come up with a more reliable way for allocating targets to servers (or just save "allocation" logic for --looping-mode).

Perhaps, the current behaviour (sort servers by max ram, then allocate) should be kept for --looping-mode, but normal --xp-mode which does things a bit more on-demand should just sort servers by available ram, and/or keep better track of which targets are currently have batches running on servers, and exclude them from the current loop until they're done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant