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 > instance crash after running a query on DB2 9.5 FP4

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-19-09, 06:55
alecs alecs is offline
Registered User
 
Join Date: Mar 2009
Posts: 15
instance crash after running a query on DB2 9.5 FP4

Hello,

Does anyone have DB295 FixPack4? I am running the following query on it (XP SP2 or 3 local machine):

SELECT R.ROUTINESCHEMA, R.ROUTINENAME, R.SPECIFICNAME, R1.ROUTINESCHEMA, R1.ROUTINENAME, R1.SPECIFICNAME, R1.ROUTINETYPE FROM SYSCAT.ROUTINEDEP D, SYSCAT.ROUTINES R, SYSCAT.ROUTINES R1 WHERE D.ROUTINESCHEMA = R1.ROUTINESCHEMA AND D.BNAME = R.SPECIFICNAME AND D.ROUTINENAME = R1.SPECIFICNAME AND D.BTYPE IN ('F') AND R.ROUTINETYPE='P' AND R.ROUTINESCHEMA='DB2ADMIN' AND R.SPECIFICNAME='SQL090916170920800' AND R.ROUTINENAME='SP_PERFCNTR_SECONDARY' ORDER BY R.ROUTINESCHEMA, R.ROUTINENAME, R.SPECIFICNAME
;

where R.ROUTINESCHEMA='DB2ADMIN' is the schema of a procedure (any of them); R.SPECIFICNAME='SQL090916170920800' is the specific name of the procedure and R.ROUTINENAME='SP_PERFCNTR_SECONDARY' is the actual procedure name. Again, it does not matter what the procedure's body.
Must specify that the client version does not matter here.

The odd thing is that this query runs successfully on any other DB2 v9 version. (tried db295 FP3, etc.)

Can someone run this query as well for one of their procedures on DB2 v9.5 FP4? My server instance crashes, but gets back to normal when I restart it using "db2start".

PS: the error shown in server log is: "RETCODE : ZRC=0x87120007=-2028863481=SQLR_SEVERE_PGM_ERROR "Severe programming error" DIA8516C A severe internal processing error has occurred. " and it happens after this query.

Thank you.

Last edited by alecs; 11-19-09 at 07:33.
Reply With Quote
  #2 (permalink)  
Old 11-19-09, 19:06
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
The trap file should tell why the instance is crashing. In the diagpath, look for a dir that starts with FODC (you may see several of them - DB2 will create a new one for each crash occurrence). Inside the FODC dir, look for a trap file (*.trap.bin). Format it using db2xprt (for example: db2xprt *.trap.bin *.trap.fmt). Open the formatted output and look for "Failing instruction". This line will give you the function name where DB2 trapped. Then, use this function name to search for any known APARs here: IBM Software Support - DB2 for Linux UNIX and Windows - Overview


Or just open a pmr.
Reply With Quote
  #3 (permalink)  
Old 09-07-10, 00:15
Mathew_paul Mathew_paul is offline
Registered User
 
Join Date: Oct 2007
Posts: 200
bella

i don't see any bin file in FODC trap but lot of txt files and crash files which files need to be check to know why was the instance down
831640.21871.000.trap.txt
831640.21871.000.rawstack.txt
db2pd.memory.txt
db2pd.dbmcfg.txt
831640.21871.000.db2pd.alldbs.txt
db2pd.dbptnmem.txt
831640.21871.000.cos.txt
831640.000.core
db2eventlog.006.crash
db2eventlog.005.crash
db2eventlog.004.crash
db2eventlog.002.crash
db2eventlog.001.crash
db2eventlog.000.crash
983268.2571.004.stack.txt
864426.2571.001.stack.txt
757900.2571.006.trap.txt
757900.2571.006.stack.txt
585768.2571.002.trap.txt
585768.2571.002.stack.txt
db2eventlog.003.crash

Kindly suggest
regds
Paul
Reply With Quote
  #4 (permalink)  
Old 09-07-10, 19:01
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
On Unix/Linux, trap files are readable and have .txt extension. You have several trap files on different partitions so you need to check which PID received a signal in the db2diag.log and then check its trap file. The most common signal is "Signal #11" (you can search trap files for this info), but it really depends on the problem. The best is to open a PMR to address the crash.
Reply With Quote
  #5 (permalink)  
Old 09-08-10, 00:22
Mathew_paul Mathew_paul is offline
Registered User
 
Join Date: Oct 2007
Posts: 200
hey bella

As you said there is signal 11 as well the process id in it i m attaching the files hope it attaches. bella how to get more info on FODC any link to help more on it

Kindly suggest
regds
Paul757900.2571.006.trap.txt

831640.21871.000.trap.txt
Reply With Quote
  #6 (permalink)  
Old 09-08-10, 20:37
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
If you search for sqlpGetAndProcessGraphs here -> IBM Support Portal - DB2 for Linux, UNIX and Windows ,

you will find one old APAR. And there are no other APARs for a trap in this function. So. I'd suggest to open a PMR.
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