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 > DB2 Shared Memory Error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-24-09, 07:47
vijay.jain vijay.jain is offline
Registered User
 
Join Date: Apr 2009
Posts: 1
DB2 Shared Memory Error

I am getting following error when trying to run db2 connect to <dbname> command.

SQL1084C Shared memory segment cannot be allocated. SQLSTATE = 57019

1. I have increased the size of the kernel.shmmax value.
2. I have set the intance_memory database configuration setting to AUTOMATIC.

but no success. Please help.

Thank you.
Reply With Quote
  #2 (permalink)  
Old 04-24-09, 07:54
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
V9.5? Try this:
Code:
db2 update dbm cfg using Instance_Memory 001000000
db2 update db  cfg using Database_Memory automatic
This will limit your RAM consumption to 1,000,000 pages (4G).
If the database starts normally, you can set Instance_Memory to automatic as well. You must stop/start the instance
To reset your bufferpools, you can
Code:
db2set DB2_override_BPF=4096
After start/stop all the bufferpools come up with 4096 pages. STMM will pick them up and bring them to the ideal values in a day or 2.

Last edited by dr_te_z; 04-24-09 at 07:58.
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