Vedmedka Posted June 5, 2014 Report Share Posted June 5, 2014 Is there limit to number shared folders exists?I have an application that adds folders periodically to btsync using API. Each folder contains one video file. I noticed that sync stopped when about 200 folders has been added. When I manually removed some folders sync restored.Btsync 1.3.105 is running on Ubuntu 12.04.cat /proc/<btsync pid>/limits for max open files shows 128000.In logs I found something like this:"client" side:Blocked downloading file ZZZZZZZZZZZZZZZ due Connection closed"server" side:Torrent ZZZZZZZZZZZZZZZ status:137 error:<NULL> meta:1 conns:0 io:0Force unloading torrent ZZZZZZZZZZZZZZZ Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted June 6, 2014 Report Share Posted June 6, 2014 Is there limit to number shared folders exists? Please see "Is there a limit on the number/size of files I can Sync?" in the Unofficial FAQ Quote Link to comment Share on other sites More sharing options...
Vedmedka Posted June 6, 2014 Author Report Share Posted June 6, 2014 There are no limits imposed on the number, or size, of files you can sync with BitTorrent SyncUnfortunately it doesn't explain why after a number shared folders added to btsync it stops synchronization and restored it as soon as some of shared folders were removed. Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted June 6, 2014 Report Share Posted June 6, 2014 Unfortunately it doesn't explain why after a number shared folders added to btsync it stops synchronization and restored it as soon as some of shared folders were removed. It does if you've run out of free disk space and/or memory! Quote Link to comment Share on other sites More sharing options...
Vedmedka Posted June 8, 2014 Author Report Share Posted June 8, 2014 For now I'm quite sure that btsync 1.3.105 running on ubuntu12.04 stops synchronization process after approximately 200 folders has been added to btsync.I've seen it on our production servers (believe me there are enough disk space and memory) and I did clean experiment on a different system. In the experiment I added folders to btsync in a loop using RW key. Each folder contained one file size of 1 Mb. Folders added using RO key to another btsync on the same comp on a different port. Target btsync awaited synchronized file has appeared on target folders. After 195 successfully synchronized folders synchronization has been stopped.Here an excerpt from experiment log:...2014-06-08 16:52:58,515 INFO CheckALotOfFolders - Folder #1932014-06-08 16:54:18,470 INFO CheckALotOfFolders - Folder #193 synced2014-06-08 16:54:18,470 INFO CheckALotOfFolders - Folder #1942014-06-08 16:55:38,282 INFO CheckALotOfFolders - Folder #194 synced2014-06-08 16:55:38,282 INFO CheckALotOfFolders - Folder #1952014-06-08 16:56:58,115 INFO CheckALotOfFolders - Folder #195 synced2014-06-08 16:56:58,115 INFO CheckALotOfFolders - Folder #1962014-06-08 16:59:00,712 ERROR CheckALotOfFolders - Folder #196 not synced after 120 seconds2014-06-08 16:59:00,713 INFO CheckALotOfFolders - Folder #1972014-06-08 17:01:03,318 ERROR CheckALotOfFolders - Folder #197 not synced after 120 seconds2014-06-08 17:01:03,318 INFO CheckALotOfFolders - Folder #1982014-06-08 17:03:05,766 ERROR CheckALotOfFolders - Folder #198 not synced after 120 seconds2014-06-08 17:03:05,766 INFO CheckALotOfFolders - Folder #1992014-06-08 17:05:08,228 ERROR CheckALotOfFolders - Folder #199 not synced after 120 seconds...Comlete log here:http://pastebin.com/rW3C4JjiSource code here:http://pastebin.com/uuYCsPwk Quote Link to comment Share on other sites More sharing options...
Vedmedka Posted June 22, 2014 Author Report Share Posted June 22, 2014 Version 1.3.106 has the same problem too. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted June 23, 2014 Report Share Posted June 23, 2014 @Vedmedka There is no any built-in limitation on amount of folder. Your case looks to be an issue / bug. We'll try to reproduce it in our lab and debug. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.