axkibe/lsyncd — Issue #90: lsync dies after initial sync
Author: axkibe
Created: 2011-11-16 15:11:38+00:00
State: open

Originally filed by keir.as...@gmail.com on 2011-10-17T17:28:32

What steps will reproduce the problem?
1. Start lysncd
2. let it fulfill sync and then hang
3. restart lsyncd, repeat

What is the expected behavior? What does Lsyncd do instead?
I expect it to continuously monitor folders and sync as necessary. Lsyncd dies after initial sync upon invocation. I am attempting to sync 51655 directories, but have bumped my inotify settings accordingly:

fs.inotify.max_user_watches = 750000
fs.inotify.max_queued_events = 750000

What version of Lsyncd are you using? On what operating system (host and
target(s)?
2.0.5
I have a centos6.0 x86 "proxy" that is syncing an NFSv3 mount to an rsync server running Solaris Express 11. rsync 3.0.6

If applicable please copy/paste your Lsyncd configuration file.

settings = {
statusFile = "/var/log/lsyncd-vortex.status",
logfile = "/var/log/lsyncd-vortex.log",
--statusInterval = 1,
maxDelays = 1,
}

sync{
default.rsync,
source="/vortex/",
target="e-it-vbr01::vortex",
rsyncOpts={"-aP", "--ignore-errors"},
}

If applicable please copy/paste a logfile generated with '-log all' of a
minimal testcase that raises this problem.

Please provide any additional information below.