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 > cause of error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-26-09, 03:31
nittal nittal is offline
Registered User
 
Join Date: Jul 2008
Posts: 131
Question cause of error

Hi all,
I was not able to start my db2 service. When checked in the ‘event Viewer’ I showed the following as the warning message.

The description for Event ID ( 5 ) in Source ( DB2 ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event:
2009-02-26-12.55.10.568000 InstanceB2 Node:000
PID:3900(db2syscs.exe) TID:1972 Appid:none
routine_infrastructure sqlerInitFmpHeap Probe:60

ADM11003E DB2 failed to create the memory segment used for communication with
fenced routines. If restarting DB2, ensure that no db2fmp processes are active
on the instance prior to start. Otherwise, you can adjust the value through the
DB2_FMP_COMM_HEAPSZ registry variable, or you can decrease the value of
ASLHEAPSZ in the database manager configuration.

I checked the value set for ASLHEAPSZ and DB2_FMP_COMM_HEAPSZ which were set to as below
Application support layer heap size (4KB) (ASLHEAPSZ) = 15
DB2_FMP_COMM_HEAPSZ was not set (I don’t know the default value for this)
As I didn’t knew the effect of changing the values for above two parameters, I tried the first solution of deactivating all the db2fmp processes and now the service started successfully.
I just needed to know:
1. The root-cause of this error so that these kinds of warning messages will not be thrown in future?
2. What is the role of above two parameters?
3. Where will be the impact of changing the value of above two parameters?
4. Why there were large numbers of db2fmp processes running in the background though the service was stopped? Aren’t they killed automatically when the service stops?
Reply With Quote
  #2 (permalink)  
Old 02-26-09, 10:11
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
db2fmp can be left behind after an abnormal instance shutdown. Removing them prior to restarting the instance should resolve the error. About the error:

It indicates FMP heap size problem. DB2_FMP_COMM_HEAPSZ can accomodate 2 * ASLHEAPSZ * number of active db2fmps. To resolve the error (assuming there are no leftover fmps):

1) decrease ASLHEAPSZ (if it's set high)
2) increase FMP heap size by setting registry DB2_FMP_COMM_HEAPSZ
3) both 1 and 2

You can find some additional info about these parameters here:
Solve common problems with DB2 UDB Java stored procedures
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