I recently encountered a significant performance issue with my system becoming extremely sluggish whenever Syncthing was running. The interesting aspect was that IO monitoring didn’t show the system being completely saturated, yet the performance degradation was severe. Forcing Syncthing to quit immediately restored normal system performance. After investigation, I discovered that the index-v0.14.0.db folder had grown with numerous .ldb files but not very large( about 10+ 55M files). As an experiment, I completely deleted the index-v0.14.0.db folder (while keeping my config.xml intact) and restarted Syncthing. Then Syncthing rebuilt its database, and the system no longer experienced any lag or performance issues.
It cost me two hour to solve this problem , I thought my harddriver was going to die, really bad .
Is there a way to limit Syncthing’s resource usage or optimize the database maintenance automatically ?