Nothing left but blog
- sersync2 完全安装配置说明(二) —-可选功能与xml高级配置 (18)
- sersync2完全安装配置说明(一) —-基本功能使用 (4)
- sersync2 编译 (3)
- fedora16 安装配置 (3)
- php闭合标签输出多余空行使xml页面显示错误 (2)
- memcached-1.4.5安装时候出现错误error: dereferencing type-punned pointer will break strict-aliasing (2)
- 新浪xweibo代码架构分析(二次开发) (2)
- sersync2 完全安装配置说明(三) —-插件基本配置和使用 (1)
- 使用apache benchmark 测试 (1)
- system与popen函数的效率 (0)
solar module: 这种介绍确实很到位!
injection molding: 不错,这种介绍很到位,支持一下,博主辛苦了。
Tyre+Valves: 呵呵,好的,想法不错,收藏一下,经常会来看看的。
johntech: 有新版本的了,防止cpu100%
feigu: 我之前把这个 加了 "<!--"注销符 现在去掉就好了 ,是有几次同步出错 弄得系统好卡,下次碰到在贴给你...
johntech: 感觉是你filter正则写的有问题啊...
feigu: [root@mysqlserver sersync]# ./sersync2 -d set the system param execute:echo 50000000 > /...
johntech: 如果是互相同步 推荐使用csync 可以google到
个人简介
·姓名:周洋
·网名:johntech
·SNS:人人
·邮箱:zhoukunta@qq.com
·微博:t.sina.com.cn/johntech
·学校:北京理工大学
·专业:03级/07级|计算机科学与技术
·时间:2003年9月─2009年7月(本/硕)
·工作:
北京金山软件
·部门:金山游戏-运营技术中心
网站开发部(原xoyo技术部)
·职位:底层开发工程师
·地址:北京-上地-金山软件大厦
·工作:
新浪无线
·职位:手机微博-PHP高级开发工程师
·地址:北京市海淀区中关村
·理想国际大厦15层
·时间:2010.09.26─至今Blogroll
- sersync 服务器同步工具
- Small2 二小の博客
- terry的blog kingsoft terry
- Young for U sina python guy
- 宴哥 s135
- 新浪微博
- 程序猿 kingsoft friend
Archives
- January 2012 (1)
- December 2011 (1)
- November 2011 (3)
- September 2011 (1)
- July 2011 (1)
- March 2011 (3)
- February 2011 (3)
- January 2011 (7)
- December 2010 (12)
about 7 months ago
一直在用,最近发现点小问题,情况是这样的
我查看同步日志rsync_fail_log.sh 发现,近期有些文件传输失败,查看原因发现,是因为rsync 如果加上参数 u 它会产生一个小问题,例如从A点同步到B点,如果A点的时间晚于B点时间,那这个文件就不会被同步,加上u参数就会对比时间,但内容却是不同的,这样就产生一个问题,在我恢复老版本的文件的时候,就会产生部分文件无法同步过去,我是想,如果可以在同步失败的时侯把rsync 的u参数去下来,这样就完美了,当然也可以配置一个开关,我试失败文件不会太多,这样也不会造成数据量大的因素。
about 7 months ago
如果是互相同步 推荐使用csync 可以google到
about 6 months ago
[root@mysqlserver sersync]# ./sersync2 -d
set the system param
execute:echo 50000000 > /proc/sys/fs/inotify/max_user_watches
execute:echo 327679 > /proc/sys/fs/inotify/max_queued_events
parse the command param
option: -d run as a daemon
daemon thread num: 10
parse xml config file
host ip : localhost host port: 8008
now the filter work ,if you set the crontab,you have to set crontab filter
Open debug, you will see debug infomation
daemon start,sersync run behind the console
terminate called after throwing an instance of ‘std::logic_error’
what(): basic_string::_S_construct NULL not valid
烦求解
about 6 months ago
感觉是你filter正则写的有问题啊…
about 6 months ago
我之前把这个 加了 “<!–"注销符 现在去掉就好了 ,是有几次同步出错 弄得系统好卡,下次碰到在贴给你
about 6 months ago
有新版本的了,防止cpu100%