免费注册 查看新帖 |

Chinaunix

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

■如果ASE12.5 未注册,会不会限制并发连接数? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-09-29 13:41 |只看该作者 |倒序浏览
最近做压力测试,安装了一个ASE12.5 在红旗Linux5.0 上,发现效果非常差,

并发连接数稍微多点(其实很少,sp-who查看就3个左右),就出下面得错误了。

** SQLCODE=(-84083974)
** SQL Server Error
** ct_connect(): network packet layer: internal net library error: Net-Library operation terminated due to disconnect

数据库日志里也报错。说可用uses connection被耗尽。

后来找了一个sco机器上安装得sybase做数据库服务,效果就很好了。

是不是和我的ase没有注册有关? sco上的是别人原来安装tar包过来的,也许注册过。


还是 Linux上安装 ASE需要优化哪些内核参数吗?


论坛徽章:
0
2 [报告]
发表于 2007-09-29 14:02 |只看该作者
不会,关键的问题是你的软件是什么版的,开发版或则是express版

论坛徽章:
0
3 [报告]
发表于 2007-09-29 14:29 |只看该作者

怎么知道是什么版本?

[sybase@red50 install]$ startserver -v
12.5.2/EBF 11799/P/Linux Intel/Enterprise Linux/ase1252/1831/32-bit/OPT/Fri Apr  9 04:11:36 2004

Confidential property of Sybase, Inc.
Copyright 1987, 2004
Sybase, Inc.  All rights reserved.
Unpublished rights reserved under U.S. copyright laws.

This software contains confidential and trade secret information of Sybase,
Inc.   Use,  duplication or disclosure of the software and documentation by
the  U.S.  Government  is  subject  to  restrictions set forth in a license
agreement  between  the  Government  and  Sybase,  Inc.  or  other  written
agreement  specifying  the  Government's rights to use the software and any
applicable FAR provisions, for example, FAR 52.227-19.
Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA

论坛徽章:
0
4 [报告]
发表于 2007-09-29 14:33 |只看该作者
安装时界面是这样得。

论坛徽章:
7
数据库技术版块每日发帖之星
日期:2015-08-09 06:20:00数据库技术版块每日发帖之星
日期:2015-11-03 06:20:00数据库技术版块每日发帖之星
日期:2016-02-20 06:20:00数据库技术版块每日发帖之星
日期:2016-07-13 06:20:00数据库技术版块每日发帖之星
日期:2016-07-31 06:20:00数据库技术版块每日发帖之星
日期:2016-08-01 06:20:00数据库技术版块每日发帖之星
日期:2016-08-18 06:20:00
5 [报告]
发表于 2007-09-29 15:42 |只看该作者
Enterprise版的ASE没有限制,SBE和evaluation的才有,
我估计你是没有配过 sp_configure 'number of user connections',200 你再试试看

论坛徽章:
0
6 [报告]
发表于 2007-09-29 16:57 |只看该作者
原帖由 Eisen 于 2007-9-29 15:42 发表
Enterprise版的ASE没有限制,SBE和evaluation的才有,
我估计你是没有配过 sp_configure 'number of user connections',200 你再试试看



果然如此! 谢谢!

1> sp_configure   "number of user connections"
2> go
Parameter Name                 Default     Memory Used Config Value Run Value   Unit                 Type      
------------------------------ ----------- ----------- ------------ ----------- -------------------- ----------
number of user connections               5         841           5            5 number               dynamic   

(1 row affected)
(return status = 0)

才5个并发连接。太少了。

试着修改,结果提示是开发版。如果注册了是不是就变成正式版了?
看上面的安装时的界面提示 是 企业版嘛.


1> sp_configure   "number of user connections"  , 15   
2> go
Msg 10848, Level 16, State 1:
Server 'red50', Procedure 'sp_configure', Line 695:
The Adaptive Server Enterprise Developer Edition does not allow you to set this configuration parameter to a value higher than 5.
Msg 5846, Level 16, State 2:
Server 'red50', Procedure 'sp_configure', Line 695:
Illegal value '15' specified for configuration option 'number of user connections'. The legal values are between '5' and '5'.
(return status = 1)

论坛徽章:
0
7 [报告]
发表于 2007-09-29 16:59 |只看该作者
从哪里能找个 没限制的 Linux版本呢?  

那位达人能帮个忙?  俺只用来测试、开发。  做压力测试开发版不行啊。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP