ayourtch / lsyncd

Automatically exported from code.google.com/p/lsyncd
GNU General Public License v2.0
0 stars 0 forks source link

ERROR: Cannot add watch ..... (28:No space left on device) #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. large homedir ( million files )
2. lsyncd --exclude-from=/home/oernii/.rsync_exclude --no-daemon --verbose 
/home/oernii/ remote::/BACKUP/

What is the expected output? What do you see instead?
 sync should run without errors

What version of the product are you using? On what operating system?
1.39

Please provide any additional information below.
After running I am getting a LOT of this:

watching /home/oernii/.kde
ERROR: Cannot add watch /home/oernii/.kde (28:No space left on device)

Original issue reported on code.google.com by oer...@gmail.com on 15 Oct 2010 at 11:28

GoogleCodeExporter commented 9 years ago
"No space left on device" probably means you need to increase 
/proc/sys/fs/inotify/max_user_watches. Eg.: `echo 65536 
>/proc/sys/fs/inotify/max_user_watches'.

See http://linux.die.net/man/7/inotify for more information:

"/proc/sys/fs/inotify/max_user_watches
This specifies a limit on the number of watches that can be associated with 
each inotify instance."

Original comment by d...@dans.im on 15 Oct 2010 at 3:35

GoogleCodeExporter commented 9 years ago
thanks, that was it. increasing to 1000000 did the trick

Original comment by oer...@gmail.com on 16 Oct 2010 at 7:52

GoogleCodeExporter commented 9 years ago
thanks dan for helping

Original comment by axk...@gmail.com on 16 Oct 2010 at 9:10