v6ak Posted April 4, 2014 Report Share Posted April 4, 2014 BTSync does not seem to close added files. I am recovering many files from my backup and I am getting the following error message: "Don't have permissions to write to the selected folder.". When I restart the BT sync service (i.e. killall btsync-daemon and start it again), the sync continues for some time, but it later fails again in the same way. When I look to the log file, I've recognized that it can't write to the target folder because it has reached maximum opened files. The log looks like:[20140404 15:05:37.194] SyncFilesController: failed to load torrent for file ".../apps/android-sdk-linux/platforms/android-14/data/res/drawable-hdpi/stat_sys_signal_3_cdma.png"[20140404 15:05:37.194] TorrentFile: Failed to create empty suffix for file ".../apps/android-sdk-linux/platforms/android-14/data/res/drawable-hdpi/stat_sys_signal_4_cdma.png" - 24[20140404 15:05:37.194] SyncFilesController: failed to load torrent for file ".../apps/android-sdk-linux/platforms/android-14/data/res/drawable-hdpi/stat_sys_signal_4_cdma.png"[20140404 15:05:37.194] TorrentFile: Failed to create empty suffix for file ".../apps/android-sdk-linux/platforms/android-14/data/res/drawable-hdpi/stat_sys_signal_evdo_0.png" - 24[20140404 15:05:37.194] SyncFilesController: failed to load torrent for file ".../apps/android-sdk-linux/platforms/android-14/data/res/drawable-hdpi/stat_sys_signal_evdo_0.png"...[20140404 15:15:18.506] Failed file save: .../sync.dat.new It does not reach the global system limit, just the per-process limit. I've increased the limit from 1024 to 4096, but it does not solve the problem. It seems that the app simply does not close the newly created files. When I run watch 'lsof | grep btsync-da | grep REG | wc -l', the number of opened files continuously grows. My BTSync and system versions:% dpkg -l | grep btsyncii btsync 1.3.0-1 Private network P2P file synchronisation daemon(s)ii btsync-common 1.3.80-1 Private network P2P file synchronisation daemonrc btsync-gui-gtk 0.8.1-2 Full GTK based Linux GUI for BitTorrent Sync% lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 12.04.4 LTSRelease: 12.04Codename: precise Quote Link to comment Share on other sites More sharing options...
Brian Buchanan Posted April 7, 2014 Report Share Posted April 7, 2014 I seem to be having this problem with btsync 1.3.80 (32-bit) on a QNAP TS-469 with when receiving a lot of files from peers. It runs for a while and then "Check: Too many open files" starts appearing in the log and in the GUI the "Size" says "Don't have permissions to write to the selected folder." The lsof command does grow as btsync is running (substituting my folder name in for btsync-da) and shows 1365-1477 files usually. When it stops. Stopping and restarting btsync gets it going again for about 2 minutes (lots of small files). *Edit: From http://forum.bittorrent.com/topic/29255-btsync-error-check-too-many-open-files/ Tried http://syncapp.bittorrent.com/1.3.77/ and the number of open files no longer grows out of control, 7 or 14 is all I've seen. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted April 7, 2014 Report Share Posted April 7, 2014 Hi all, Thanks for reporting. We are aware of this issue and looking for ways to resolve it. 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.