If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > System error on DB2 UDB 8.2 FP 11

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-11-11, 15:07
db2user24 db2user24 is offline
Registered User
 
Join Date: Nov 2007
Posts: 248
System error on DB2 UDB 8.2 FP 11

Hi,

We have DB2 UDB 8.2 FP 11 on Linux CentOS on our production and backup server. Every night the images are copy / restored from production to backup...a few days ago I noticed that our backup server had a huge number of db2agents and I also kept getting system errors when trying to connect to the db -- I eventually had to stop the database by issuing the 'db2stop force' command. Below are the errors from db2diag.log and also the error code that I got when trying to force applications off --- any thoughts?.. thanks!!!

db2 force applications all
SQL0902C A system error (reason code = "") occurred. Subsequent SQL
statements cannot be processed. SQLSTATE=58005



2011-07-11-16.37.08.646413+000 I646411749E282 LEVEL: Error
PID : 30506 TID : 47909221637536PROC : db2tcpcm
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, base sys utilities, sqleGetAgent, probe:70
MESSAGE : Agent not allocated, sqlcode = -1225

2011-07-11-16.37.08.646599+000 E646412032E421 LEVEL: Error
PID : 30506 TID : 47909221637536PROC : db2tcpcm
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, common communication, sqlcctcpconnmgr_child, probe:125
MESSAGE : ADM7009E An error was encountered in the "TCPIP" protocol support.
A possible cause is that the maximum number of agents has been
exceeded.

2011-07-11-16.37.08.646686+000 I646412454E386 LEVEL: Error
PID : 30506 TID : 47909221637536PROC : db2tcpcm
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, common communication, sqlcctcpconnmgr_child, probe:126
MESSAGE : Return code from sqleGetAgent =
DATA #1 : Hexdump, 4 bytes
0x00007FFF35F13E98 : 37FB FFFF 7...

2011-07-11-16.37.08.741864+000 I646412841E388 LEVEL: Severe
PID : 30506 TID : 47909221637536PROC : db2tcpcm
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, oper system services, sqlo_waitlist::initialize, probe:10
MESSAGE : SysV semget failed with errno:
DATA #1 : Hexdump, 4 bytes
0x00007FFF35F1355C : 1C00 0000 ....

2011-07-11-16.37.08.741944+000 I646413230E390 LEVEL: Severe
PID : 30506 TID : 47909221637536PROC : db2tcpcm
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, oper system services, sqloGetShrEDUWaitElem, probe:70
MESSAGE : waitlist initialization failed, zrc=
DATA #1 : Hexdump, 4 bytes
0x00007FFF35F13614 : 8100 0F85 ....

2011-07-11-16.37.08.741995+000 I646413621E443 LEVEL: Severe
PID : 30506 TID : 47909221637536PROC : db2tcpcm
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, oper system services, sqloCreateEDU, probe:3
MESSAGE : DiagData
DATA #1 : Hexdump, 28 bytes
0x00002B92B9F8FC2F : 7371 6C6F 4765 7453 6872 4544 5557 6169 sqloGetShrEDUWai
0x00002B92B9F8FC3F : 7445 6C65 6D20 6661 696C 6564 tElem failed

2011-07-11-16.37.08.742048+000 I646414065E393 LEVEL: Severe
PID : 30506 TID : 47909221637536PROC : db2tcpcm
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, base sys utilities, sqleCreateNewAgent, probe:25
RETCODE : ZRC=0x850F0081=-2062614399=SQLO_SSEM_EXCEED_MAX
"Requesting too many semaphores"
DIA8336C Requested too many semaphores.
Reply With Quote
  #2 (permalink)  
Old 07-11-11, 16:01
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Quote:
Originally Posted by db2user24 View Post
We have DB2 UDB 8.2 FP 11 on Linux CentOS on our production and backup server.
DB2 8.2 is no longer supported by IBM, and CentOS was not a supported (neither recommended nor validated by IBM) Linux distribution for DB2 8.2. Sounds like you have high-class operation there.
DB2 UDB V8.2 Validated Linux Environments - Information Management - Wikis (UAT Theme)
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 07-11-11, 17:29
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Might be a socket ulimit, or you've reached the maximum number of agents as configured. If this number of connected applications is abnormal, you would need to ensure it does not happen again; if it is expected, determine and increase the appropriate limits.
Reply With Quote
  #4 (permalink)  
Old 07-11-11, 18:16
db2user24 db2user24 is offline
Registered User
 
Join Date: Nov 2007
Posts: 248
thanks guys, I have the MAXAGENTS value set to 1200 and the value was at 978 when I started getting the system errors --- this number is definitely not normal.. the max I've seen is around 200..
Reply With Quote
  #5 (permalink)  
Old 07-11-11, 18:49
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Quote:
Originally Posted by db2user24 View Post
I have the MAXAGENTS value set to 1200 and the value was at 978 when I started getting the system errors --- this number is definitely not normal.. the max I've seen is around 200..

The default for MAXAGENTS is 200. It must be set to 1200 for a reason? If this happens again and until you know the reason why, consider increasing SEMMNI kernel parameter.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On