Agent not allocated, sqlcode = -1226的问题

[复制链接]
查看11 | 回复2 | 2008-1-2 17:35:53 | 显示全部楼层 |阅读模式
2006-02-07-13.40.07.250001 Instance

B2 Node:000
PID:1564(db2syscs.exe) TID:1904 Appid:none
base_sys_utilitiessqleGetAgent Probe:75
Agent not allocated, sqlcode = -1226
2006-02-07-13.40.07.266000 Instance

B2 Node:000
PID:1564(db2syscs.exe) TID:1904 Appid:none
common_communicationsqlcctcpconnmgr_child Probe:125
DIA3003E 在 "TCPIP" 协议支持中遇到错误。"sqleGetAgent" 的返回码是 "-1226"。
2006-02-07-13.40.09.047000 Instance

B2 Node:000
PID:1564(db2syscs.exe) TID:1900 Appid:none
base_sys_utilitiessqleGetAgentFromPool Probe:97
DIA3847C 数据库页标题中发生错误。

请教各位高手!!谢谢!
回复

使用道具 举报

千问 | 2008-1-2 17:35:53 | 显示全部楼层
SQL1226N The maximum number of client connections are already

started.
Explanation:
The number of client connections is already equal to the maximum
value defined in the system configuration file.
The operation cannot be processed.
User Response:
Wait for other applications to disconnect from the database.If
one or more applications are required to run concurrently,
increase the value for max_connections.The new value takes
effect after the next successful database manager start. If the
value for max_connections is larger than the value for
max_coordagents, the concentrator feature is turned on.
sqlcode :-1226
sqlstate :57030

tunning the following parameter:
Max number of existing agents
(MAXAGENTS) = 200
Agent pool size
(NUM_POOLAGENTS) = 100(calculated)
Initial number of agents in pool (NUM_INITAGENTS) = 0
Max number of coordinating agents (MAX_COORDAGENTS) = MAXAGENTS
Max no. of concurrent coordinating agents(MAXCAGENTS) = MAX_COORDAGENTS
Max number of client connections(MAX_CONNECTIONS) = MAX_COORDAGENTS
回复

使用道具 举报

千问 | 2008-1-2 17:35:53 | 显示全部楼层
增大实例maxagents试试,但同时需要查看一下当前数据库的连接情况,是不是有些应用启动太多,或应用被hang住。
使用db2 list applications show detail
回复

使用道具 举报

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

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行