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
i thought i do a scalability test putting a linux kernel src into a synced directory.
well, it didn't end well. maybe my android device ran out of inodes or clusters.
it was a bit troublesome to kill all the syncing going on (even after both sides had no files any more, it somehow wasn't stopping syncing).
but even after stopping syncthing on both sides, emptying the directories on both sides, starting syncthing again, I have a strange effect:
it shows:
linux side (0.8.13-2 ubuntu package):
Synchronization Idle (100%)
Global Repository 0 files, 9.41 MiB
Local Repository 0 files, 9.41 MiB
Out of Sync 0 files, 0 B
android side (0.8.14):
Synchronization Idle (100%)
Global Repository 0 files, 9.41 MiB
Local Repository 0 files, 9.41 MiB
Out of Sync 0 files, 0 B
there are exactly 0 files and 0 bytes on both sides in the shared directory in the filesystem. why does it say 9.41MB?
it somehow seems to be related to the .idx.gz file. I killed it and then local dropped to 0 files 0 MB.
But: it still was there on the android side and got synced by from there, so it is now again at 0 files 9.41MB.
All these files in the index are gone on both sides, so I am not sure why it seems to insist to keep them in the index...
That's a bit unintuitive, but what you're seeing is the "default cost" of deleted files. A deleted file or directory is valued at 128 bytes for syncing purposes. In this case, you probably have tens of thousands of deleted files in the index, making up for those megabytes of data.
That said, it would be interesting to see what went wrong?
just a last question: "cost of delete file == 128 bytes" - is that meant permanently?
what went wrong: well, maybe you can reproduce by putting a ton of files into one node (more than e.g. an android device can take - in my case the kernel source directly [guess including the object files from last build I ran] was enough). And at the time it runs against the wall, just try fixing by removing the files on both side...
Activity
ThomasWaldmann commentedon Jun 9, 2014
it somehow seems to be related to the .idx.gz file. I killed it and then local dropped to 0 files 0 MB.
But: it still was there on the android side and got synced by from there, so it is now again at 0 files 9.41MB.
All these files in the index are gone on both sides, so I am not sure why it seems to insist to keep them in the index...
calmh commentedon Jun 9, 2014
That's a bit unintuitive, but what you're seeing is the "default cost" of deleted files. A deleted file or directory is valued at 128 bytes for syncing purposes. In this case, you probably have tens of thousands of deleted files in the index, making up for those megabytes of data.
That said, it would be interesting to see what went wrong?
calmh commentedon Jun 10, 2014
This seems to be a combo of #352 and #353, closing to continue there.
ThomasWaldmann commentedon Jun 14, 2014
just a last question: "cost of delete file == 128 bytes" - is that meant permanently?
what went wrong: well, maybe you can reproduce by putting a ton of files into one node (more than e.g. an android device can take - in my case the kernel source directly [guess including the object files from last build I ran] was enough). And at the time it runs against the wall, just try fixing by removing the files on both side...