axkibe/lsyncd — Issue #111: problem with lsyncd 2.0.5 and 2.0.6
Author: swood
Created: 2012-02-17 06:35:14+00:00
State: open

Hello.
I trying run latest version lsyncd on Debian 6 64bit. But on start, it write on console or log many goes to round and don't sync files. For example:

Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...
Thu Feb 2 16:35:08 2012 Normal: Skipping startup synchronization...

My config file is very simple:

settings = {
logfile = "/var/log/lsyncd/lsyncd.log",
statusFile = "/var/log/lsyncd/lsyncd.status",
statusInterval = 5,
nodaemon = false,
log = all,
}
sync {
default.rsyncssh,
source = "/var/www",
host = "myhost",
targetdir = "/usr/local/myhost/www/mirror",
rsyncOps = {"-ausS", "--temp-dir=/tmp", "--numeric-ids", "--exclude-from=/usr/local/scripts/logs_exclude.list"},
delay = 3,
maxProcesses = 3,
init = function(event)
log("Normal","Skipping startup synchronization...")
end
}

It is the first problem.
Second problem is synchronization my folder /var/www her size about 500GB small files. Something files are coping, but not all. I tune my kernel about fs.inotify.max_user_watches=16777216 and fs.inotify.max_queued_events=65536. But this settings not help me.

And I was said in file /var/log/lsyncd/lsyncd.status only 502 strings about folders. Can I increase this list?

Can you help me about this problems?