HowTo? realtimesync - lower the full sync frequency

Get help for specific problems
Posts: 7
Joined: 1 Oct 2022

RamSa

Hi!
I'm on 12.2 and realtime sync jobs do not only sync in real time but also do a scan (changing time of sync.ffs_db by that) every.single.hour.
This creates totally unneccessary load (especially on my cloud storages) so: How do I lower this frequency?

Thank you!
User avatar
Posts: 4056
Joined: 11 Jun 2019

xCSxXenon

RTS monitors the listed folders. If any changes occur, RTS waits the "idle time" and then runs the command at the bottom, typically a FFS sync. If it is occurring every hour, there is something changing data in one of the folders every hour. RTS does not operate on any schedule
Posts: 7
Joined: 1 Oct 2022

RamSa

I wish it was like that.
Sync happens exactly every hour (today xx:38) and additionally when sth. changed.
xx:38 logs say
"21:37:20 Info: Using non-default global settings:
Copy locked files: Enabled
21:38:14 Info: Comparison finished: 47.732 items found – Time elapsed: 00:00:52
21:38:15 Info: Synchronising folder pair: Mirror ->
S:\
P:\
21:38:16 Info: Nothing to synchronise"

I want to reduce the frequency (or get rid!) of the xx:38 syncs.


edit:
see
https://ibb.co/6H49W2q - List of FFS log files
https://ibb.co/YjF7HRy - last file changed 6:07, FFS syncs again at :38
User avatar
Posts: 2451
Joined: 22 Aug 2012

Plerry

It is as xCSxXenon says.
RealTimeSync (RTS) does not have any timing schedule to trigger its command line (normally an FFS sync).
So, there must be something (a program, virus scanner or whatever) that creates a change that triggers RTS to launch its command line.

You can use the %change_action% environment variable to see what file-change triggered RTS.
See the bottom part of the RTS manual page.
Posts: 7
Joined: 1 Oct 2022

RamSa

You can use the %change_action% environment variable to see what file-change triggered RTS. Plerry, 09 Apr 2023, 10:45
Thank you for the hint on how to debug bc. my tool (ProcMon64 by Sysinternals had no sucess, it shows absolutely nothing in the 30s (
<Delay>30</Delay>
) before FFS RTS runs: https://ibb.co/QNzWR87

I'm busy now (Easter walk /w family) but will try that later. Am I supposed to put the line echo
%change_action% %change_path% >> ffs.log
into the *.ffs_batch that *.ffs_real executes (
<PostSyncCommand Condition="Completion">echo %change_action% %change_path% &gt;&gt; ffs.log</PostSyncCommand>
)?
Posts: 7
Joined: 1 Oct 2022

RamSa

Tested, unfortunately does not bring any clarification (I have slightly expanded the command):
echo %date% %time% - %change_action% %change_path% >> ffs.log
but the result is not suitable for debugging:
2023-04-10 160428 - Delete C:\[path]\file1
2023-04-10 161359 - Create C:\[path]\file2
2023-04-10 161443 - Create C:\[path]\file3
2023-04-10 183350 - Create %change_path%
I've thrown out FFS now and use another software for syncing, which seems to me to be more effective than long debugging.


Nevertheless, thanks for your help!