axkibe/lsyncd — Issue #63: Slow response to sync when any file changing in a large file system
Author: axkibe
Created: 2011-11-16 15:06:29+00:00
State: open
Labels: Type-Defect

Originally filed by chungyan5@gmail.com on 2011-05-26T11:17:47

What steps will reproduce the problem?
1.in a statusFile, it contains "Inotify watching 7912 directories", a large no. of files to monitor
2.any changing of file or create a new file
3.it takes a few ten seconds to sync from source to dest.

What is the expected output? What do you see instead?
Should within one/two seconds to sync from source to dest.

What version of the product are you using? On what operating system?
Ubuntu 10.04, and Lsyncd Version: 2.0.4

Please provide any additional information below.
It seems Lsyncd has a loop to monitor the whole file system, if the file system is large, it takes time to complete one loop.