xiqingongzi / sersync

Automatically exported from code.google.com/p/sersync
3 stars 0 forks source link

新的beta版测试了下在64位下,不能支持监控目录下的子目录里的更新 #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
请教,新的beta版测试了下在64位下,不能支持监控目录下的��
�目录里的更新,是我配置错误,还是什么问
题?

但用-r参数启动时,除了链接没有同步之外,其它的都已经同
步了。

Original issue reported on code.google.com by guohongq...@gmail.com on 6 May 2010 at 6:12

GoogleCodeExporter commented 9 years ago
应该是可以的,这个是递归监控目录与子目录,你是用mkdir 
-p /a/b/c/d的吧,这个我以前听
有些用户反应在有些机器会出现监控路径丢失的现象,比如��
�只监控到b所在目录,c和d的没有。
但在centos下我测试过,即使使用-p参数一次建立多级目录,�
��不会出现监控丢失问题。不知道
您是什么系统,我也非常想重现这个问题,但在我的centos上 
mkdir -p a/b/c/d/e/f/g/ 都不会
丢失监控。
你的问题,如果实际应用就只是一次不建立多级,只是一级��
�级的建立是肯定没有问题的如: 
mkdir a 
cd a 
mkdir b
我很想重现这个错误,希望指出您的系统,和配置信息。

Original comment by zhouyang...@gmail.com on 8 May 2010 at 2:15

GoogleCodeExporter commented 9 years ago
-r 
参数是将所有文件整体同步一遍,不存在你说的问题,你说��
�问题只是在实时同步时候有用户
出现过,但我在32位centos没有出现。如果你建立目录是逐层建
立,不是用-p 一次性建立应该也
可以用。很想知道这个问题是怎么出现的,我在自己机器上��
�论同时建立多少层都没问题,希望
您把您详细建立过程及其细节展示出来。

Original comment by zhouyang...@gmail.com on 8 May 2010 at 3:29

GoogleCodeExporter commented 9 years ago
Linux localhost.localdomain 2.6.18-164.15.1.el5.centos.plus #1 SMP Wed Mar 17 
19:54:20 
EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

我先用-r 
参数同步到另一台机器的相同目录中去,例如/opt/website,等同�
��完之后,我再在/opt/website/a/这
个目录下新建文件和目录,就不会再自动同步到另一台机器��
�去,说明下,我的/opt/website这个目录有很多文件,容
量在40多G

Original comment by guohongq...@gmail.com on 9 May 2010 at 4:25

GoogleCodeExporter commented 9 years ago
你所说的在我的环境里可以用mkdir -p 
a/b/c/d/建很多层目录都可以同步,但就是不能同步子目录下的
文件,挺奇怪
的

Original comment by guohongq...@gmail.com on 9 May 2010 at 7:13

GoogleCodeExporter commented 9 years ago
在我的测试环境下,无论是新建立的目录和子目录或者子文��
�都可以同步,你可以先不用-r启动
sersync,然后测一下能否同步新建立的子目录和文件。我怀疑�
��能是-r选项造成的。因为我的
测试环境下没有那么多文件,-r瞬间就执行完毕了。还是想�
��道您是什么环境,具体配置方式,
因为在我这里不会出现无法同步子目录或子文件情况。

Original comment by zhouyang...@gmail.com on 9 May 2010 at 9:07

GoogleCodeExporter commented 9 years ago
我又测了一下,原先监控目录下假如有a,那么开启sersync后,
在a下建立目录、子目录,并在目
录、子目录下建立文件都可以同步到远程,还是没有出现您��
�问题,我的是centos5.4,以前在
5.3环境下也没有子目录文件监控不了的事情发生。

Original comment by zhouyang...@gmail.com on 9 May 2010 at 9:27

GoogleCodeExporter commented 9 years ago
inotify最多监控5千万个文件夹,你的不可能比这个多吧?

Original comment by zhouyang...@gmail.com on 9 May 2010 at 9:36

GoogleCodeExporter commented 9 years ago
我也出现了这个问题,同样的东西,在32位CENTOS 
5.4上同步目录及子目录下的文件和目录都没
有问题,但在64位就只能同步当前目录的文件,子目录的不能
同步,作者能不能查一下原因?
急。。。

Original comment by dongnan....@gmail.com on 17 May 2010 at 9:59

GoogleCodeExporter commented 9 years ago
我的也是同步不了子目录以及子目录下的文件
Debian GNU/Linux 5.0 \n \l

Original comment by alex...@gmail.com on 22 Jun 2010 at 10:34

GoogleCodeExporter commented 9 years ago
我的也是同步不了子目录以及子目录下的文件
Debian GNU/Linux 5.0 \n \l
补充下我的也是64位

Original comment by alex...@gmail.com on 22 Jun 2010 at 11:06