seanlook / sersync

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

sersync2.5 daemon運行一段時間之後會死掉 #46

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
sersync2.5 daemon運行一段時間之後會死掉,沒有任何log

Linux mcr1-van0 2.6.35.7 #1 SMP Thu Nov 11 11:10:41 CST 2010 x86_64 Intel(R) 
Xeon(TM) CPU 2.80GHz GenuineIntel GNU/Linux

請問有什麼方式或方向可以解決這個問題嗎?

Original issue reported on code.google.com by pahud...@gmail.com on 7 Dec 2010 at 11:53

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
我開啟了debug模式,死掉時候的訊息如下,有辦法解決嗎?

inotify wd:1961 name:.checking.bPvbEV   mask:256
inotify wd:1961 name:.checking.bPvbEV   mask:4
inotify wd:1961 name:.checking.bPvbEV   mask:8
inotify wd:1961 name:.checking.bPvbEV   mask:4
inotify wd:1961 name:.checking.bPvbEV   mask:64
inotify wd:1961 name:checking   mask:128
cd /home/export && rsync -artuz -R "./van0-checkpoint-by-nagios/checking" 
xxx.xxx.127.126::www
cd /home/export && rsync -artuz -R "./van0-checkpoint-by-nagios/checking" 
xxx.xxx.127.125::www
inotify wd:1961 name:checking   mask:512
inotify wd:1    name:van0-checkpoint-by-nagios  mask:1073741828
inotify wd:1961 name:checking   mask:1073741828
inotify wd:1961 name:van0-checkpoint-by-nagios  mask:32768
cd /home/export && rsync -artuz -R --delete ./   
--include="van0-checkpoint-by-nagios/" 
--include="van0-checkpoint-by-nagios/checking" --exclude=*  xxx.xxx.127.125::www
cd /home/export && rsync -artuz -R --delete ./   
--include="van0-checkpoint-by-nagios/" 
--include="van0-checkpoint-by-nagios/checking" --exclude=*  xxx.xxx.127.126::www
cd /home/export && rsync -artuz -R --delete ./   
--include="van0-checkpoint-by-nagios"  
--include="van0-checkpoint-by-nagios/***" --exclude=*  xxx.xxx.127.125::www
cd /home/export && rsync -artuz -R --delete ./   
--include="van0-checkpoint-by-nagios"  
--include="van0-checkpoint-by-nagios/***" --exclude=*  xxx.xxx.127.126::www
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr
Aborted

Original comment by pahud...@gmail.com on 9 Dec 2010 at 1:57

GoogleCodeExporter commented 9 years ago
是开启文件过滤后有这个现象么?关闭文件过滤试试,我也��
�是很清楚这个bug

Original comment by zhouyang...@gmail.com on 9 Dec 2010 at 6:39

GoogleCodeExporter commented 9 years ago
是沒有開啟的, 不過我有打開attrib的inotify watch

<?xml version="1.0" encoding="ISO-8859-1"?>
<head version="2.5">
    <host hostip="localhost" port="8008"></host>
    <debug start="true"/>
    <fileSystem xfs="true"/>
    <filter start="false">
        <exclude expression="(.*)\.svn"></exclude>
        <exclude expression="(.*)\.gz"></exclude>
        <exclude expression="^info/*"></exclude>
        <exclude expression="^static/*"></exclude>
    </filter>
    <inotify>
        <delete start="true"/>
        <createFolder start="true"/>
        <createFile start="false"/>
        <closeWrite start="true"/>
        <moveFrom start="true"/>
        <moveTo start="true"/>
        <attrib start="true"/> 
        <modify start="false"/>
    </inotify>

Original comment by pahud...@gmail.com on 9 Dec 2010 at 6:50

GoogleCodeExporter commented 9 years ago
你的问题,我再找找吧,我需要好好测试,你可以用早期的��
�本试试。

Original comment by zhouyang...@gmail.com on 10 Dec 2010 at 7:28