no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
Next revision
fuss:resilio_sync [2022/08/27 08:10] office
Line 1: Line 1:
 +====== Reset Password ======
 +
 +Edit ''/etc/resilio-sync/config.json'' and add:
 +<code>
 +"login": "admin",
 +"password": "password"
 +</code>
 +
 +to the ''webui'' section and then restart the Resilio Sync daemon:
 +<code bash>
 +/etc/init.d/rslsync restart
 +</code>
 +
 +You should now be able to log-in using the credentials ''admin'' / ''password'' and reset the password using the web interface.
 +
 +====== Preventing High CPU Usage on Large Folder Synchronization across Operating Systems ======
 +
 +When large folders have to be synchronized with Resilio Sync it may happen that the CPU is overused. Some errors might appear in the Resilio Sync interface, such as "cannot update timestamp [...]" or similar.
 +
 +{{fuss:fuss_resilio_sync_timestamp_errors.png?512}}
 +
 +It is likely that since Resilio Sync attempts to synchronize modification times as well as extended file attributes, various instances on different devices cannot handle the changes properly resulting in Resilio Sync incessantly attempting to synchronize files at the slightest of changes. The result is that the CPU is spun up more than often resulting in a high CPU usage.
 +
 +This issue is not a bug within Resilio Sync, but rather a consequence of design, given that Resilio Sync is deliberately programmed to achieve a perfect mirror of files across all devices. However, in case that a perfect copy is not required (for instance, if the user does not care about modification time nor extended attributes in favor of content), the following power user configuration changes can be made to reduce the CPU usage to a minimum:
 +
 +  * ''ignore_mtime_assign_errors'' set to ''true'',
 +  * ''sync_extended_attributes'' set to ''false''
 +
 +Upon testing, the ''rslsync'' process CPU usage on a Linux machine had been reduced from $140\%$ to about $2\%$ on average.
 +
 +Perhaps the following changes could be made to then further reduce CPU usage given their definitions:
 +
 +  * ''send_statistics'' set to ''false'',
 +  * ''disk_low_priority'' set to ''true'',
 +  * ''worker_threads_count'' set to the amount of available CPUs or cores (default ''0'', as in no limit),
 +  * ''ignore_symlinks'' set to ''true'' (symlinks are unfortunately not universal to all filesystems)
  

fuss/resilio_sync.txt · Last modified: 2022/12/07 06:03 by office

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.