You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Activating zsync in the Mirrorbrain configuration and run the following to get the zsync "file" done: mb makehashes /var/www/download.kiwix.org/ -v --force -t /usr/share/mirrorbrain
crashes.
Moving the chunk size to 4MB works partly, but mb makehashes still crashes with a file of 200GB.
The text was updated successfully, but these errors were encountered:
lrupp
added
Prio2
We want this, but it's not totally clear or extremely important.
copy
An issue copied from another Repository (poeml/mirrorbrain)
labels
Apr 29, 2020
The error looks like pure memory allocation problem: I experimented with 100G file : the zsums column needs to store 236M - it is passed to postgres as hex, so around 500M.
With 200G file it will try to pass ~1G hex string, so can definitely meet the error from the ticket.
Proper solution may be trying to update zsums in batches instead of one go and probably pass binary data directly to postgres instead of hex. Using much bigger block size is an option as well - current 4K is way too small for 200G files.
From poeml#176
Activating zsync in the Mirrorbrain configuration and run the following to get the zsync "file" done:
mb makehashes /var/www/download.kiwix.org/ -v --force -t /usr/share/mirrorbrain
crashes.
Moving the chunk size to 4MB works partly, but mb makehashes still crashes with a file of 200GB.
The text was updated successfully, but these errors were encountered: