-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Workers: report real disk size (and CPU / RAM) #976
Comments
I like that worker admins can set resources for zimfarm and don't have to entirely donate all host resources to the worker. Was done on purpose but can be reassessed indeed.
I don't see how that would help TBH. Also, we should keep in mind that there's a major difference between CPU/RAM which are enforced by docker and disk which is not at all. |
I like it too (even I would recommend to do it with VMs so that isolation is more realist, but it is not a requirement, we must support both scenarii) However here issue was opposite: disk declared by owner was 1TB (whole disk size) while in fact only 30G was available in |
Is the doc misleading or was it overlooked? |
When I read the doc, I understand that Zimfarm data will be stored in |
Yes, everything else is not managed and thus handled by docker. Those container data as well as image data are the reason we recommend to change the default folder. We should not mention logs there as it's misleading IMO.
That's a zimit bug that must be opened. |
Yes, this is what misled me at least
Double checking, it is not indeed. I.e. by default zimit creates WARCs in a temporary subfolder of /output, see
|
Docker has multiple storage drivers. I'm using ZFS because it works really well for Docker and hybrid disk+NVMe storage. Docker uses ZFS snapshots for layers. Compression+dedup is on for Docker layers and |
Currently, disk size assigned to each workers is not much used AFAIK.
However, the disk size configured in zimfarm.config is displayed in the UI.
Would be great to at least check if the disk size available for docker containers is in accordance with what is configured in zimfarm.config, so that Zimfarm editors / devs are not mislead by a wrong configuration
By default, a
df /var/lib/docker/overlay2
should do the trick, but this can be customized, don't know yet how to correctly check it)Probably true for RAM / CPU as well, this would help diagnose problems as we have more and more workers which are not under our control.
The text was updated successfully, but these errors were encountered: