免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2681 | 回复: 0
打印 上一主题 下一主题

PostgreSQL last_statrequest $xxx is later than collector's time $xxx [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-02-22 18:27 |只看该作者 |倒序浏览
刚迁移过来的数据库起来后报了一堆错误:
2010-12-21 00:53:07.871 CST,,,30873,,4d0f88d1.7899,4919,,2010-12-21 00:48:17 CST,,0,LOG,00000,"last_statrequest 2010-12-21 00:53:21.972521+08 is later than collector's time 2010-12-21 00:53:07.870957+08",,,,,,,,,""
2010-12-21 00:53:27.263 CST,,,31193,,4d0f89ee.79d9,1,,2010-12-21 00:53:02 CST,2/0,0,WARNING,01000,"pgstat wait timeout",,,,,,,,,""

系统DATE输出发现时钟频率严重不对:
postgres@db-192-168-173-64-sns-space-> date
Tue Dec 21 00:52:19 CST 2010
postgres@db-192-168-173-64-sns-space-> date
Tue Dec 21 00:52:20 CST 2010
postgres@db-192-168-173-64-sns-space-> date
Tue Dec 21 00:52:40 CST 2010
postgres@db-192-168-173-64-sns-space-> date
Tue Dec 21 00:52:41 CST 2010
postgres@db-192-168-173-64-sns-space-> date
Tue Dec 21 00:52:23 CST 2010
postgres@db-192-168-173-64-sns-space-> date
Tue Dec 21 00:52:24 CST 2010

看起来像是有两个硬件时钟在跑。
因此导致PostgreSQL认为时间错乱,抛出以上日志。
目前怀疑是IBM X3950服务器两台做堆叠后需操作系统兼容性不佳造成的,重启系统后恢复正常。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP