mickours / lsyncd

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

Maximum file list? (no space left on device) #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
First tests with lsyncd on a medium-size directory (about 2G). I get:

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

Both source and target disk have plenty of space. Maybe it's problem with the 
number of directory to watch?

Original issue reported on code.google.com by frenchte...@gmail.com on 5 Jul 2010 at 12:57

GoogleCodeExporter commented 9 years ago
change the value of /proc/sys/fs/inotify/max_user_watches

echo 32000 > /proc/sys/fs/inotify/max_user_watches

this is usually not available on VPS, you should be on dedicated serveur
under virtuozzo by the way the path is
/vz/root/<container #>/proc/sys/fs/inotify/max_user_watches

Original comment by nico...@nikozen.com on 11 Jul 2010 at 11:59

GoogleCodeExporter commented 9 years ago
yes, I suppose you exceeded the number of watches the kernel allowed you.

yes, do as nicolas said and raise it that way.

Original comment by axk...@gmail.com on 11 Jul 2010 at 7:44