Not working correctly web interface

If you scan a folder with more than 10 million small files(5Tb) of files (average size 1 MB), the process image in the web interface does not work (he opens the web, but the data is not updated). DB is now 5 gigabytes. How can revive Web muzzle?

1 Like

Can you provide a screenshot? Also, run syncthing with envvar STTRACE=scanner and provide the log.

@1113 does it look like this?

Install the beta version of the program, the result is the same.syncthing.rar (16.4 MB)

It’ll probably work correctly, it’ll just take a very (very) long time to load information about those ten million files, probably. That’s what the GUI is waiting for.

1 Like

Alternatively, you can edit the config, set ScanProgressIntervalS to -1, which will disable scan progress, but will start scanning straight away, but will not show you any progress.

What it’s doing now, is walking the filesystem, counting number of bytes needed to scan, before it starts scanning, so that it could tell you the percentage done.

What does this mean: [KQ4CX] 15:57:31 INFO: Starting deadlock detector with 20m0s timeout

This is only present in betas and dev builds. This just helps us find deadlocks, IF they happen.

everything would be fine (though he thinks long), but it hangs scanning!

deadlock cyclically restarted synctfinc

Please provide the stacktraces.

As I have said in the ticket, it does not stop scanning, it simply hasn’t finished it due to the large volume of files. If you run with STTRACE=scanner you should see that its still making progress.

Can you provide the panic log? Also, have you tried setting ScanProgressInterval to a negative value?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.