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 > Package Cache Issue.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-14-09, 14:10
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Package Cache Issue.

Hello all,

We are experiencing Package Cache Overflow in production DB. On average every two weeks the is an overflow occurs. First occurence follows buy anothe abour 5 hours lates. Second is followed by third one about an hour later an then few minutes . . . . in about 10 hours total there are many overflows. applications hang and needs a restart.

IBM support informed that there is an issue with current fixpack,but will be fixed in next,due mid December. They also advised to do FLUSH PACKAGE CACHE every time the situation arises, also schedule on regular basis. This did not solve the problem, because last time first overflow occured 3 hours after a FLUSH.

Now only way is that I monitor package cache use regularly. May be every hour.

Can someone advise me which function or view will provide me such info. That is, currently used package cache and available package cache, so that I may be able to tell when there is an alarming situation.

I guess (not sure) following lines show it.

Quote:
Node number = 0
Memory Pool Type = Package Cache Heap
Current size (bytes) = 116391936
High water mark (bytes) = 153747456
Configured size (bytes) = 17178820608
DB2V9.5 fp4 on Win2K3

Please help.

DBFinder
Reply With Quote
  #2 (permalink)  
Old 12-14-09, 14:34
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
You should not see package cache overflows if pckcachesz is set to automatic and STMM is enabled. Please check the following thread for info on how you can monitor it: DB2DIAG.LOG: Package cache overfow


v9.5 fp5 was released today in case you want to upgrade...
Reply With Quote
  #3 (permalink)  
Old 12-15-09, 13:20
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Bella,

Yes we are having problem, despite AUTOMATIC settings.

Thanks for reference.

DBFinder
Reply With Quote
  #4 (permalink)  
Old 12-15-09, 13:30
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
What about STMM (self_tuning_mem db cfg)
Reply With Quote
  #5 (permalink)  
Old 12-15-09, 13:36
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
In addition to having STMM turned on, you have to have at least 2 of the tunable parameters set to AUTOMATIC for it to work.

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