免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 38909 | 回复: 1

sybase以前一直很稳定,但是最近一周死一次,杀掉进程重启就好了 [复制链接]

论坛徽章:
0
发表于 2016-05-30 10:28 |显示全部楼层
新手求教,请帮忙看看怎么解决
0:00000:00002:2016/05/27 17:46:43.90 server  There are not enough 'user connections' available to start a new process. Retry when there are fewer active users, or ask your System Administrator to reconfigure SQL Server with more user connections.
00:00000:00024:2016/05/27 18:51:29.62 server  Named cache default data cache, id 0 configured too small for current demands.  Transaction progress may cease or response time may increase.
00:00000:00013:2016/05/27 18:51:30.21 server  Named cache default data cache, id 0 configured too small for current demands.  Transaction progress may cease or response time may increase.

11> sp_configure "Memory Use"
12> go

Group: Memory Use

Parameter Name                 Default     Memory Used Config Value
         Run Value   
------------------------------ ----------- ----------- ------------
        -----------
additional network memory                0           0           0
                   0
allow resource limits                    0           0           0
                   0
audit queue size                       100          42         100
                 100
default network packet size            512       #1020         512
                 512
disk i/o structures                    256          21         256
                 256
enable rep agent threads                 0           0           0
                   0
event buffers per engine               100         #10         100
                 100
executable codesize + overhead           0        7888           0
                7888
max cis remote servers                  25           0          25
                  25
max number network listeners             5         399           5
                   5
max online engines                       1         151           1
                   1
max roles enabled per user              20          #4          20
                  20
memory per worker process             1024           0        1024
                1024
number of alarms                        40           2          40
                  40
number of aux scan descriptors         200         #99         200
                 200
number of devices                       10         #11          30
                  30
number of languages in cache             3           4           3
                   3
number of large i/o buffers              6          97           6
                   6
number of locks                       5000         528        5000
                5000
number of mailboxes                     30           1          30
                  30
number of messages                      64           2          64
                  64
number of open databases                12         433          12
                  12
number of open indexes                 500         208         500
                 500
number of open objects                 500         237         500
                 500
number of remote connections            20         805         500
                 500
number of remote logins                 20         214         200
                 200
number of remote sites                  10         797          10
                  10
number of user connections              25        1986          25
                  25
number of worker processes               0           0           0
                   0
partition groups                      1024          21        1024
                1024
permission cache entries                15         #26          15
                  15
procedure cache percent                 20        2082          20
                  20
remote server pre-read packets           3        #786           3
                   3
stack guard size                      4096        #200        4096
                4096
stack size                           34816       #1701       34816
               34816
total data cache size                    0        8040           0
                8040
total memory                         12000       24000       12000
               12000

1> sp_cacheconfig
2> go
Cache Name                     Status    Type     Config Value Run Value   
------------------------------ --------- -------- ------------ ------------
default data cache             Active    Default       0.00 Mb      7.44 Mb
                                                   ------------ ------------
                                            Total       0.00 Mb      7.44 Mb   
==========================================================================
Cache: default data cache,   Status: Active,   Type: Default
      Config Size: 0.00 Mb,   Run Size: 7.44 Mb
      Config Replacement: strict LRU,   Run Replacement: strict LRU
IO Size  Wash Size Config Size  Run Size     APF Percent
-------- --------- ------------ ------------ -----------
     2 Kb   1522 Kb      0.00 Mb      7.44 Mb     10      
(return status = 0)
1> select @@pagesize
2> go
            
-----------
        2048

(1 row affected)
1>
1> sp_configure 'object'
2> go
Msg 17411, Level 16, State 1:
Procedure 'sp_configure', Line 159:
Configuration option is not unique.

Parameter Name                 Default     Memory Used Config Value
         Run Value   
------------------------------ ----------- ----------- ------------
        -----------
number of open objects                 500         237         500
                 500
open object spinlock ratio             100           0         100
                 100

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

1> select @@max_connections
2> go
            
-----------
        9990

论坛徽章:
0
发表于 2016-05-30 10:30 |显示全部楼层
cssyb.cfg" 181 行,5178 字符
##############################################################################
#
#               Configuration File for the Sybase SQL Server
#
#               Please read the System Administration Guide (SAG)
#               before changing any of the values in this file.
#
##############################################################################



[Configuration Options]

[General Information]

[Backup/Recovery]
        recovery interval in minutes = DEFAULT
        print recovery information = DEFAULT
        tape retention in days = DEFAULT

[Cache Manager]
        number of oam trips = DEFAULT
        number of index trips = DEFAULT
        procedure cache percent = DEFAULT
        memory alignment boundary = DEFAULT
        global async prefetch limit = DEFAULT

[Named Cache:default data cache]
        cache size = DEFAULT
        cache status = default data cache
        cache replacement policy = DEFAULT

[Meta-Data Caches]
        number of open databases = DEFAULT
        number of open objects = DEFAULT
        open object spinlock ratio = DEFAULT
        number of open indexes = DEFAULT
        open index hash spinlock ratio = DEFAULT
        open index spinlock ratio = DEFAULT

[Disk I/O]
        allow sql server async i/o = DEFAULT
        disk i/o structures = DEFAULT
/worker processes
        disable character set conversions = DEFAULT

[Network Communication]
        default network packet size = DEFAULT
        max network packet size = DEFAULT
        remote server pre-read packets = DEFAULT
        number of remote connections = 500
        allow remote access = DEFAULT
        number of remote logins = 200
        number of remote sites = DEFAULT
        max number network listeners = DEFAULT
        tcp no delay = DEFAULT
        allow sendmsg = DEFAULT
        syb_sendmsg port number = DEFAULT

[O/S Resources]
        max async i/os per engine = DEFAULT
        max async i/os per server = DEFAULT

[Parallel Query]
        number of worker processes = DEFAULT
        memory per worker process = DEFAULT
        max parallel degree = DEFAULT
        max scan parallel degree = DEFAULT

[Physical Resources]

[Physical Memory]
        total memory = DEFAULT
        additional network memory = DEFAULT
        lock shared memory = DEFAULT
        shared memory starting address = DEFAULT
        max SQL text monitored = DEFAULT

[Processors]
        max online engines = DEFAULT
        min online engines = DEFAULT

[SQL Server Administration]
        default database size = DEFAULT
        identity burning set factor = DEFAULT
        allow nested triggers = DEFAULT
        allow updates to system tables = 1
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP