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 > Server Stops in Middle

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-20-09, 08:14
ratheeshknair ratheeshknair is offline
Registered User
 
Join Date: Jan 2009
Posts: 153
Server Stops in Middle

Hi Experts,

My server IBM DB2 9.5c Express is stopping without showing any error or messages.How can i track the reason or culprit behind this? What i need to do? Is there any error log from which i can find the reason.Please Help

TIA
Reply With Quote
  #2 (permalink)  
Old 07-20-09, 08:24
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Look in the db2diag.log file.

Andy
Reply With Quote
  #3 (permalink)  
Old 07-20-09, 18:05
ratheeshknair ratheeshknair is offline
Registered User
 
Join Date: Jan 2009
Posts: 153
Got this error

0501C A stack overflow exception has occurred. The DB2 instance
has terminated abnormally. To remedy this problem, you may increase
the default stack size for db2syscs.exe using the db2hdr utility as
follows: db2hdr \sqllib\bin\db2syscs.exe /s:<stackreserve>[,
<stackcommit>] Note that increasing the default stack size will
consume virtual memory space and may reduce the maximum number of
concurrent connections. Contact IBM Support for further assistance.

I have increased the default stack size to 1024 and then to 1536 but getting the same error.

My server is having 2GB RAM
Reply With Quote
  #4 (permalink)  
Old 07-21-09, 08:06
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
What OS is your system?

Andy
Reply With Quote
  #5 (permalink)  
Old 07-22-09, 00:24
ratheeshknair ratheeshknair is offline
Registered User
 
Join Date: Jan 2009
Posts: 153
Windows XP Professional
Version 2002
Service Pack 3

Pentium Dual core CPU
2.52GHz,4GB RAM
Reply With Quote
  #6 (permalink)  
Old 07-22-09, 08:30
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
How many databases do you have?

What is the output of "db2 get dbm cfg"?

What is the output from "db2 get db cfg for <database>" for each database?

What are the sizes of you bufferpools on each database?

Andy
Reply With Quote
  #7 (permalink)  
Old 07-22-09, 11:35
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
v9.5 should not crash due to stack overflow:
IBM DB2 9.5 Information Center for Linux, UNIX, and Windows

But there is a bug which can cause the instance to crash. It's fixed in fp4:
IBM - IZ33027: DB2 instance may abend due to stack overflow (instead of dumping SQL0973N) while processing a very large predicate


There is also another bug related to agent_stack_size dbm cfg:
IBM - JR29443: DBM CONFIGURATION PARAMETER AGENT_STACK_SZ IS NOT RESPECTED ON WINDOWS PLATFORM


I'd suggest to upgrade to fp4 and then monitor the system.
Reply With Quote
  #8 (permalink)  
Old 07-22-09, 12:57
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Quote:
Originally Posted by db2girl
I'd suggest to upgrade to fp4 and then monitor the system.
That is going to be kind of hard as the OP is using the free version.

Andy
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