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 > Db2ntmemsize

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-13-07, 14:44
wu2nd wu2nd is offline
Registered User
 
Join Date: Apr 2004
Location: Tallahassee, FL
Posts: 6
Question Db2ntmemsize

Recently, when I rebooted my DB2 server, I received a message in db2diag.log about APLD has been truncated, and I should adjuste DB2NTMEMSIZE to a larger APLD. When I did a search on web I found a similar posting posted a year ago (see below). My question is: I do see a lot of fenced stored procedures defined, but HOW can I find out how many ACTIVE SPs are running at a time? Thanks in advance.
(I have DB2 UDB for Windows V8.1 with Fixpak10.)


The original posting and reply:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ø When ever I start DB2, I get the message that APLD has been truncated
> and that I should add the param to the DB2 registry DB2NTMEMSIZE =
> APLD:125830720
>
> The documentation says that APLD is related to Fenced Stored
> Procedures, can someone please advise why it would want 125mb of memory
> simply for fenced stored procedures ? Does the number of SPs defined
> make a difference ?
>
> Many thanks, Tim[/color]

Hi Tim,

The DB2 engine needs to be able to send data to/from each running
stored procedure. So, this memory is related to the number of active
SPs at a time, not the number that are defined. If you know that you
only have a small number of fenced SPs running at a time, you won't
need a large APLD set, so you can ignore this warning.

You can use the ASLHEAPSZ DBM configuration parameter to control the
size of the APLD set, as well as the DB2_FMP_COMM_HEAPSZ registry
variable (look in your docs for descriptions of these 2 parameters).

Cheers,
Liam.
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