dbTalk Databases Forums  

db2 activate database results in 1226 - Overflow agent is not allowed

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss db2 activate database results in 1226 - Overflow agent is not allowed in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
db2 comp
 
Posts: n/a

Default db2 activate database results in 1226 - Overflow agent is not allowed - 07-23-2010 , 03:56 AM






Hi all,

I'm currently facing a problem with a Db2 database.
When I try to activate / connect to it, following error occurs :

---------------------------------------------------------
"SQL1226N The maximum number of client connections are already
started.
SQLSTATE=57030"
---------------------------------------------------------

I had a look to db2diag.log,
and found followings :

---------------------------------------------------------
CPU: total:4 online:4 Threading degree per core:2
Physical Memory(MB): total:3920 free:2985
Virtual Memory(MB): total:4432 free:3492
Swap Memory(MB): total:512 free:507
Kernel Params: msgMaxMessageSize:4194304 msgMaxQueueSize:4194304
shmMax:68719476736 shmMin:1 shmIDs:131072
shmSegments:68719476736 semIDs:131072 semNumPerID:
65535
semOps:1024 semMaxVal:32767 semAdjustOnExit:16384
Cur data size (bytes) = 0x7FFFFFFFFFFFFFFF
Cur stack size (bytes) = 0x0000000100000000
Cur core size (bytes) = 0x0000000077359400
nofiles (descriptors) = 0x7FFFFFFFFFFFFFFF


2010-07-23-10.11.22.530711+120 I4980A396 LEVEL: Event
PID : 286756 TID : 1 PROC : db2tcpcm 0
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, base sys utilities, sqleGetAgent, probe:19
DATA #1 : String, 37 bytes
Agent overflow for system application
DATA #2 : Hexdump, 4 bytes
0x078000000021C1A8 : 0000 00A0 ....

2010-07-23-10.11.22.537162+120 I5377A418 LEVEL: Warning
PID : 1105948 TID : 1 PROC : db2agent 0
INSTANCE: db2inst1 NODE : 000
APPHDL : 0-167
FUNCTION: DB2 UDB, Connection Manager, sqleUCagentConnect, probe:11
MESSAGE : Overflow agent is not allowed for gateway connection
DATA #1 : Hexdump, 4 bytes
0x00000001109A526C : FFFF FB36
---------------------------------------------------------

I 'm (unfortunately) not a DB2 specialist, nor AIX guru,
and would really appreciate any help.

Thanks

Reply With Quote
  #2  
Old   
Helmut Tessarek
 
Posts: n/a

Default Re: db2 activate database results in 1226 - Overflow agent is notallowed - 07-23-2010 , 04:33 AM






It seems that maxagents or something similar has been reached. To narrow down
the problem, I would need the output of:

db2 get dbm cfg
db2 get db cfg for <dbname>
db2 list applications

Please run those commands as db2inst1 and post them here.

On 23.07.10 4:56 , db2 comp wrote:
Quote:
Hi all,

I'm currently facing a problem with a Db2 database.
When I try to activate / connect to it, following error occurs :

---------------------------------------------------------
"SQL1226N The maximum number of client connections are already
started.
SQLSTATE=57030"
---------------------------------------------------------

I had a look to db2diag.log,
and found followings :

---------------------------------------------------------
CPU: total:4 online:4 Threading degree per core:2
Physical Memory(MB): total:3920 free:2985
Virtual Memory(MB): total:4432 free:3492
Swap Memory(MB): total:512 free:507
Kernel Params: msgMaxMessageSize:4194304 msgMaxQueueSize:4194304
shmMax:68719476736 shmMin:1 shmIDs:131072
shmSegments:68719476736 semIDs:131072 semNumPerID:
65535
semOps:1024 semMaxVal:32767 semAdjustOnExit:16384
Cur data size (bytes) = 0x7FFFFFFFFFFFFFFF
Cur stack size (bytes) = 0x0000000100000000
Cur core size (bytes) = 0x0000000077359400
nofiles (descriptors) = 0x7FFFFFFFFFFFFFFF


2010-07-23-10.11.22.530711+120 I4980A396 LEVEL: Event
PID : 286756 TID : 1 PROC : db2tcpcm 0
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, base sys utilities, sqleGetAgent, probe:19
DATA #1 : String, 37 bytes
Agent overflow for system application
DATA #2 : Hexdump, 4 bytes
0x078000000021C1A8 : 0000 00A0 ....

2010-07-23-10.11.22.537162+120 I5377A418 LEVEL: Warning
PID : 1105948 TID : 1 PROC : db2agent 0
INSTANCE: db2inst1 NODE : 000
APPHDL : 0-167
FUNCTION: DB2 UDB, Connection Manager, sqleUCagentConnect, probe:11
MESSAGE : Overflow agent is not allowed for gateway connection
DATA #1 : Hexdump, 4 bytes
0x00000001109A526C : FFFF FB36
---------------------------------------------------------

I 'm (unfortunately) not a DB2 specialist, nor AIX guru,
and would really appreciate any help.

Thanks

--
Helmut K. C. Tessarek
DB2 Performance and Development

/*
Thou shalt not follow the NULL pointer for chaos and madness
await thee at its end.
*/

Reply With Quote
  #3  
Old   
Hardy
 
Posts: n/a

Default Re: db2 activate database results in 1226 - Overflow agent is notallowed - 07-23-2010 , 01:26 PM



On Jul 23, 3:56*am, db2 comp <db2newco... (AT) gmail (DOT) com> wrote:
Quote:
Hi all,

I'm currently facing a problem with a Db2 database.
When I try to activate / connect to it, following error occurs :

---------------------------------------------------------
"SQL1226N *The maximum number of client connections are already
started.
SQLSTATE=57030"
---------------------------------------------------------

I had a look to db2diag.log,
and found followings :

---------------------------------------------------------
CPU: total:4 online:4 Threading degree per core:2
Physical Memory(MB): total:3920 free:2985
Virtual *Memory(MB): total:4432 free:3492
Swap * * Memory(MB): total:512 free:507
Kernel * Params: msgMaxMessageSize:4194304 msgMaxQueueSize:4194304
* * * * * * * * *shmMax:68719476736 shmMin:1 shmIDs:131072
* * * * * * * * *shmSegments:68719476736 semIDs:131072 semNumPerID:
65535
* * * * * * * * *semOps:1024 semMaxVal:32767 semAdjustOnExit:16384
Cur data size (bytes) *= 0x7FFFFFFFFFFFFFFF
Cur stack size (bytes) *= 0x0000000100000000
Cur core size (bytes) *= 0x0000000077359400
nofiles (descriptors) *= 0x7FFFFFFFFFFFFFFF

2010-07-23-10.11.22.530711+120 I4980A396 * * * * *LEVEL: Event
PID * * : 286756 * * * * * * * TID *: 1 * * * * * PROC : db2tcpcm 0
INSTANCE: db2inst1 * * * * * * NODE : 000
FUNCTION: DB2 UDB, base sys utilities, sqleGetAgent, probe:19
DATA #1 : String, 37 bytes
Agent overflow for system application
DATA #2 : Hexdump, 4 bytes
0x078000000021C1A8 : 0000 00A0 * * * * * * * * * * * * * * * * *....

2010-07-23-10.11.22.537162+120 I5377A418 * * * * *LEVEL: Warning
PID * * : 1105948 * * * * * * *TID *: 1 * * * * * PROC : db2agent 0
INSTANCE: db2inst1 * * * * * * NODE : 000
APPHDL *: 0-167
FUNCTION: DB2 UDB, Connection Manager, sqleUCagentConnect, probe:11
MESSAGE : Overflow agent is not allowed for gateway connection
DATA #1 : Hexdump, 4 bytes
0x00000001109A526C : FFFF FB36
---------------------------------------------------------

I 'm (unfortunately) not a DB2 specialist, nor AIX guru,
and would really appreciate any help.

Thanks
check max_connections dbm cfg. it may be too small for your
environment.

Reply With Quote
  #4  
Old   
Mark A
 
Posts: n/a

Default Re: db2 activate database results in 1226 - Overflow agent is not allowed - 07-23-2010 , 02:23 PM



"db2 comp" <db2newcomer (AT) gmail (DOT) com> wrote

Quote:
Hi all,

I'm currently facing a problem with a Db2 database.
When I try to activate / connect to it, following error occurs :

---------------------------------------------------------
"SQL1226N The maximum number of client connections are already
started.
SQLSTATE=57030"
---------------------------------------------------------

I had a look to db2diag.log,
and found followings :

---------------------------------------------------------
CPU: total:4 online:4 Threading degree per core:2
Physical Memory(MB): total:3920 free:2985
Virtual Memory(MB): total:4432 free:3492
Swap Memory(MB): total:512 free:507
Kernel Params: msgMaxMessageSize:4194304 msgMaxQueueSize:4194304
shmMax:68719476736 shmMin:1 shmIDs:131072
shmSegments:68719476736 semIDs:131072 semNumPerID:
65535
semOps:1024 semMaxVal:32767 semAdjustOnExit:16384
Cur data size (bytes) = 0x7FFFFFFFFFFFFFFF
Cur stack size (bytes) = 0x0000000100000000
Cur core size (bytes) = 0x0000000077359400
nofiles (descriptors) = 0x7FFFFFFFFFFFFFFF


2010-07-23-10.11.22.530711+120 I4980A396 LEVEL: Event
PID : 286756 TID : 1 PROC : db2tcpcm 0
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, base sys utilities, sqleGetAgent, probe:19
DATA #1 : String, 37 bytes
Agent overflow for system application
DATA #2 : Hexdump, 4 bytes
0x078000000021C1A8 : 0000 00A0 ....

2010-07-23-10.11.22.537162+120 I5377A418 LEVEL: Warning
PID : 1105948 TID : 1 PROC : db2agent 0
INSTANCE: db2inst1 NODE : 000
APPHDL : 0-167
FUNCTION: DB2 UDB, Connection Manager, sqleUCagentConnect, probe:11
MESSAGE : Overflow agent is not allowed for gateway connection
DATA #1 : Hexdump, 4 bytes
0x00000001109A526C : FFFF FB36
---------------------------------------------------------

I 'm (unfortunately) not a DB2 specialist, nor AIX guru,
and would really appreciate any help.

Thanks
Since it says that:
"Overflow agent is not allowed for gateway connection"
It may be that you are trying to use the embedded DB2 Connect facilities to
connect to a remote database. For DB2 Server products that come licensed
with DB2 Connect, it has a max of 5 connections allowed to remote databases.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.