免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: zhouscy
打印 上一主题 下一主题

我的sybase自己给挂了,请问有人知道解决办法吗? [复制链接]

论坛徽章:
0
11 [报告]
发表于 2006-07-30 23:16 |只看该作者
谢谢 sybase_au!

sp_configure命令输出结果:
Cache Name                     Status    Type     Config Value Run Value   
------------------------------ --------- -------- ------------ ------------
default data cache             Active    Default    2000.00 Mb   2000.00 Mb
procedure cache size           Active    Mixed       800.00 Mb    800.00 Mb
                                                   ------------ ------------
                                            Total    2800.00 Mb   2800.00 Mb   
==========================================================================
Cache: default data cache,   Status: Active,   Type: Default
      Config Size: 2000.00 Mb,   Run Size: 2000.00 Mb
      Config Replacement: strict LRU,   Run Replacement: strict LRU
      Config Partition:            1,   Run Partition:            1
IO Size  Wash Size Config Size  Run Size     APF Percent
-------- --------- ------------ ------------ -----------
     4 Kb  61440 Kb      0.00 Mb   1200.00 Mb     10      
    16 Kb  61440 Kb    800.00 Mb    800.00 Mb     10      
==========================================================================
Cache: procedure cache size,   Status: Active,   Type: Mixed
      Config Size: 800.00 Mb,   Run Size: 800.00 Mb
      Config Replacement: strict LRU,   Run Replacement: strict LRU
      Config Partition:            1,   Run Partition:            1
IO Size  Wash Size Config Size  Run Size     APF Percent
-------- --------- ------------ ------------ -----------
     4 Kb  61440 Kb      0.00 Mb    600.00 Mb     10      
    16 Kb  40960 Kb    200.00 Mb    200.00 Mb     10      
(return status = 0)

sp_configure 'stack size'的输出结果:
Parameter Name                 Default     Memory Used Config Value
         Run Value   Unit                 Type      
------------------------------ ----------- ----------- ------------
         ----------- -------------------- ----------
stack size                           88472     #373752      178176
              178176 bytes                static     

(1 row affected)
(return status = 0)

我对sybase不是很了解,主要想弄明白sybase 自己为什么会宕掉。现在重启sybase 后,已运行了3、4天了,一切还正常,就是担心问题会不会再次出现。

论坛徽章:
4
2015年亚洲杯之阿联酋
日期:2015-03-10 10:32:022015年亚洲杯之阿曼
日期:2015-03-10 14:53:222015亚冠之水原三星
日期:2015-07-18 15:40:262015亚冠之塔什干棉农
日期:2015-07-27 20:52:05
12 [报告]
发表于 2006-07-31 09:34 |只看该作者
sp_configure 'time'
go

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
13 [报告]
发表于 2006-07-31 11:35 |只看该作者
应该是个bug吧,升级ebf看看

论坛徽章:
0
14 [报告]
发表于 2006-07-31 11:44 |只看该作者
Since "stack size" is already big enough. Don't bother to double it at this stage.

If the same problem happens again
1)  Get rid of 16K IO pool
or
2)  Try a latest EBF patch.

论坛徽章:
0
15 [报告]
发表于 2006-07-31 19:54 |只看该作者
原帖由 1017of 于 2006-7-31 09:34 发表
sp_configure 'time'
go


命令结果如下:
1> sp_configure 'time'
2> go
Msg 17411, Level 16, State 1:
Server 'SYBASE', Procedure 'sp_configure', Line 195:
Configuration option is not unique.

Parameter Name                 Default     Memory Used Config Value
         Run Value   Unit                 Type      
------------------------------ ----------- ----------- ------------
         ----------- -------------------- ----------
cis connect timeout                      0           0           0
                   0 seconds              dynamic   
cpu grace time                         500           0        1000
                1000 clock ticks          dynamic   
dtm detach timeout period                0           0           0
                   0 minutes              dynamic   
dtm lock timeout period                300           0         300
                 300 seconds              dynamic   
time slice                             100           0         100
                 100 milliseconds         dynamic   

(1 row affected)
(return status = 1)
1> quit
$

论坛徽章:
0
16 [报告]
发表于 2006-07-31 20:29 |只看该作者
Is there any reason you set " cpu grace time" from 500 to 1000.

If there is no specific time slice error in your errorfile, I won't bother to do that.

论坛徽章:
0
17 [报告]
发表于 2006-07-31 23:18 |只看该作者
原帖由 sybase_au 于 2006-7-31 20:29 发表
Is there any reason you set " cpu grace time" from 500 to 1000.

If there is no specific time slice error in your errorfile, I won't bother to do that.


设'cpu grace time'也没什么原因。当时病急乱投医,在网上查错误代码相关信息,发现有个回帖建议把这个参数设大点,就设了。我其实连这个参数是干什么用的都不明白。

论坛徽章:
1
操作系统版块每日发帖之星
日期:2016-06-20 06:20:00
18 [报告]
发表于 2006-08-01 08:51 |只看该作者
如果你的cpu处理能力不足,调整这个参数。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP