Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Apr 17, 2015 · 5 comments
Open

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

GoogleCodeExporter opened this issue Apr 17, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 7 Dec 2010 at 11:53

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

我開啟了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 [email protected] on 9 Dec 2010 at 1:57

@GoogleCodeExporter
Copy link
Author

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

Original comment by [email protected] on 9 Dec 2010 at 6:39

@GoogleCodeExporter
Copy link
Author

是沒有開啟的, 不過我有打開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 [email protected] on 9 Dec 2010 at 6:50

@GoogleCodeExporter
Copy link
Author

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

Original comment by [email protected] on 10 Dec 2010 at 7:28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant