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 > DB2 Instance Crash due to Segementation Violation

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-30-09, 03:04
Ashwin@DB2 Ashwin@DB2 is offline
Registered User
 
Join Date: Sep 2009
Posts: 7
DB2 Instance Crash due to Segementation Violation

Hi All,
One of our Test Databases (DB2 UDB 9.5 FP4 on AIX) has been consistently crashing. On analysing the db2diag.log the following warning message is displayed:-

ADM4000W A catalog cache overflow condition has occurred. There is no error
but this indicates that the catalog cache has exceeded the configured maximum
size. If this condition persists, you may want to adjust the CATALOGCACHE_SZ
DB configuration parameter.

2009-09-30-07.49.06.691908 Instance:vproto Node:000
PID:2318496(db2agent (instance) 0) TID:7335 Appid:*LOCAL.vproto.090930054857
oper system services sqloEDUCodeTrapHandler Probe:999

ADM14001C An unexpected and critical error has occurred: "Trap". The instance
may have been shutdown as a result. "Automatic" FODC (First Occurrence Data
Capture) has been invoked and diagnostic information has been recorded in
directory

The parameter CATALOGCACHE_SZ is set to Automatic and we have tried to alter it's value but it did not work.
On analyzing the trap files that were generated it was discovered that some "Segementation Violation" was causing these repeated crashes.

Me and my team are have run out of ideas, please help!!!

Last edited by Ashwin@DB2; 09-30-09 at 03:11.
Reply With Quote
  #2 (permalink)  
Old 09-30-09, 08:54
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Do you have STMM turned on?

Andy
Reply With Quote
  #3 (permalink)  
Old 09-30-09, 09:56
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Is ADM4000W logged right before the crash and by the same db2agent? The crash may not be related to this warning. You need to look at the trap file created in the FODC dir in order to determine why it's crashing. I'd suggest to open a pmr to address the crash.
Reply With Quote
  #4 (permalink)  
Old 10-07-09, 01:02
Ashwin@DB2 Ashwin@DB2 is offline
Registered User
 
Join Date: Sep 2009
Posts: 7
Hi,
Thanks for the replies.
@ANDY: I am sorry but I don't know what STMM is? Can you please elaborate?
@db2girl: We have opened a PMR but I was trying to find out if someone has faced such a senario before.

Regards
Ashwin
Reply With Quote
  #5 (permalink)  
Old 10-07-09, 01:54
Mathew_paul Mathew_paul is offline
Registered User
 
Join Date: Oct 2007
Posts: 200
STMM is Self Tunning Memory Manager its on V 9 onwards
whts is version and db2level 32bit or 64bit
regds
Paul
Reply With Quote
  #6 (permalink)  
Old 10-09-09, 05:18
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Guys,
We have similar problem with DB2V9.5 FP4 on Win2k3
even after 2 months IBM software support (PMR) could not find root cause.
They only know that some memory corruption occurs.

We are sure that in our case TOOLSDB's auto-maint feature was causing problems.
Now you might have TOOLSDB in different instance. If you are having TOOLSDB in same instance, try turning all Auto Maint features to off.

Regards,
DBFinder
Reply With Quote
  #7 (permalink)  
Old 10-09-09, 07:20
Ashwin@DB2 Ashwin@DB2 is offline
Registered User
 
Join Date: Sep 2009
Posts: 7
Hi Friends,
Thanks for the replies.
@Paul: We do have STMM turned on. We are working on db2 9.5 FP 4 (64 bit instance)
We thought we had got a solution by removing the DB2MEMMAXFREE instance variable, but the problem started again after a day.

Regards
Ashwin
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