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 > Sheapthres..

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-16-07, 10:23
Meena.s Meena.s is offline
Registered User
 
Join Date: Sep 2006
Posts: 87
Sheapthres..

Hi All,

I am using DB2 V7.1 and Fixpak 5 server and oslevel as Aix5.2 . I am getting error in the db2diag.log as
2007-08-15-17.57.20.588710 Instance:udbprd1 Node:000
PID:69780(db2agntp (MIAMI)) Appid:0A69E41A.0955.070815153129
sort/list_services sqlsAllocateSortMemory Probe:35 Database:MIAMI

Not enough memory available for a (private) sort heap of size 25000
Trying smaller size...

so we increased the parameter sort heap threshold(SHEAPTHRES)-dbm and issued db2terminate. After executing also we faced same problem.

Any Help....

Many Thanks
Meena.s
Reply With Quote
  #2 (permalink)  
Old 08-16-07, 11:44
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
SHEAPTHRES is a DBM level parameter. I do not remember in V7, but you might have to stop the instance (db2stop) for a change to take effect.

Andy
Reply With Quote
  #3 (permalink)  
Old 08-16-07, 15:05
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
You must be hitting the private memory limit at the OS level. See if increasing ulimit to 256MB helps. You can also try reducing SORTHEAP and/or APPLHEAPSZ. That, obviously, would have performance implications.
Reply With Quote
  #4 (permalink)  
Old 08-17-07, 03:27
Meena.s Meena.s is offline
Registered User
 
Join Date: Sep 2006
Posts: 87
shepathres..

Hi ,

We have restarted the instance, and we are not getting the error now, have to check with the application team. The issue is resolved now.


Thanks for all your support.


Regards
Meena.s
Reply With Quote
  #5 (permalink)  
Old 08-17-07, 04:09
Meena.s Meena.s is offline
Registered User
 
Join Date: Sep 2006
Posts: 87
Hi All,

After restarting the instance, we are getting the error while connecting to the database.
db2 connect to miami
SQL0987C The application control shared memory set cannot be allocated.
SQLSTATE=57011

It seems like we need to reduce the parameters sortheap and Application heap size..

Any Help...

Thanks
Meena.s
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