12
返回列表 发新帖
楼主: idd100

[原创] 求助,sybase数据库隔一个月就宕机一次。

[复制链接]
论坛徽章:
0
11#
发表于 2011-4-8 17:53 | 只看该作者
在ASE12.53 的bug list 中能够看到你的这个报错,
bug ID : 417301
The message "timeslice < negative number > , current process infected" maybe reported in the errorlog together with a stack trace which includes the modules 'ns_handle' and 'ns_prep_stmnt' if a batch including together a CREATE TABLE statement and a SELECT executing java was being executed and an error condition happened.  
虽然你的是1254,但不排除也会有这个bug 哦。

所以,我同意2楼的说法,你可以试着先打补丁再做观察。

[ 本帖最后由 DBSolutions 于 2011-4-8 17:58 编辑 ]

使用道具 举报

回复
论坛徽章:
0
12#
发表于 2011-4-18 16:10 | 只看该作者
the default "cpu grace time" of 500 is generally acknowledged as being too low, and it is common to have to increase this value to 2000. There have been some timeslice CRs where the workaround was to increase cpu grace time by this amount. You can increase it by :

sp_configure 'cpu grace time', 2000

There are no negative effects from having a high CPU grace time

Also, the version of ASE is over 4 years old and End Of Life. So for the short term, you should apply ASE 12.5.4 ESD10 to make sure you are running with the most recent 12.5.x version possible.

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表