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

Task requested on farm.zimit.kiwix.org with too much memory #790

Open
benoit74 opened this issue Jan 27, 2025 · 3 comments
Open

Task requested on farm.zimit.kiwix.org with too much memory #790

benoit74 opened this issue Jan 27, 2025 · 3 comments
Assignees

Comments

@benoit74
Copy link

We have a task on farm.zimit.kiwix.org which requests more memory than mwoffliner workers have available:

Image

Image

I removed the task on the farm.

Is it an issue to fix on WP1 side or was this just a test?

@audiodude
Copy link
Member

Here's the logic that WP1 uses for requesting resources:

https://github.com/openzim/wp1/blob/main/wp1/logic/selection.py#L187

I don't remember how that was determined, but you can see that it's variable.

@kelson42
Copy link
Collaborator

kelson42 commented Jan 27, 2025

To me it seems that this selection would have more than 5M of lines! We should not propose to do that. This infra is not conceived to make very large ZIM files.

@benoit74
Copy link
Author

At least, the resources should be capped to worker resources.

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

No branches or pull requests

3 participants