mojeda
-
Posts
9 -
Joined
-
Last visited
-
Days Won
1
Posts posted by mojeda
-
-
It's been roughly 10 hours, and my ubuntu server is still showing that btsync user has 2,196 files open in the my shared folder.
-
-
I think this is related to my post here http://forum.bittorrent.com/topic/29158-1380-ubuntu-100-cpu/ and it only happens on ubuntu with the new version 1.3.80 this wasn't happening before on 1.2.X
Interesting... I only decided to use ubuntu because I didn't think tuxpoldo had a debian version of the btsync ppa repository, however it looks like it does.
I'm going to try it on a debian server and see how that goes.
-
It's probably inheriting limits from the system process that actually started it.
The easiest fix is to modify the init script to explicitly set ulimit. A lot of start scripts already provide a mechanism to specify it via the defaults file, but YMMV.
I've modified the init script to set the ulimit to 20k and its limit is now 20k. It finally did sync all the files but when I check for open files it still has them open. It's not closing them like I would think it should? I imagine I will just run into the same issue once it has around 20k files open still....
-
Strangely no it does not.
Max open files 1024 4096 files
However the user in which btsync is running as shows the limits I previously set...
~$ ulimit -Sn20000~$ ulimit -Hn50000
-
did you adjust /etc/security/limits.conf and reboot? or just set ulimit -n in the init script?
you need to do one of the two.
I've adjusted limits.conf and restarted, yes.
* soft nofile 20000* hard nofile 50000
Users are confirming the above with ulimit -Sn and -Hn.
-
I ran the below command and it lists 711 open files in my shared folder.
lsof -Fn -u btsync | sort | uniq | grep /shared
It's almost as if if btsync tries to sync too many files and hits the limit, it "locks up."
cat /proc/sys/fs/file-max
Shows that open file limit is set to 200k overall system.
I can't check the ulimit for the btsync user since it does not have shell acess however I applied higher soft and hard nofile limits for all users.
ulimit -Snulimit -Hn
Soft limit is now 20k while hard limit is 50k.
However the issue still persists.
Edit:
Changing the user it runs as also doesn't fix the problem.
-
I'm trying to sync files between 2 ubuntu servers and get the error message in the web gui "Don't have permissions to write to the selected folder"
sync.log in /var/lib/btsync/
Gives the following Error Message: Check: Too many open files
Seems to be hit and miss, I previously synced 1.9GBs worth of files (few hundred files) and it worked fine, however now I'm syncing just 300MBs where it's maybe 1-200ish files.
Edit:
I'm also seeing "status:144 error:Check: Too many open files meta:1 conns:0 io:0"
Btsync: Error "check: Too Many Open Files"
in Sync Troubleshooting
Posted · Edited by GreatMarko
For your safety, Sync should only be downloaded through official BitTorrent Sync channels. For 1.3.77, please use http://syncapp.bittorrent.com/1.3.77/
Softpedia seems to have 1.3.77 both 64 and 32 bit versions: [link removed]
If you're trying to install via PPA I'm not sure.