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 crash: Agent not allocated, sqlcode -6043

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-03-06, 11:04
qxz qxz is offline
Registered User
 
Join Date: Apr 2002
Posts: 84
Question DB2 crash: Agent not allocated, sqlcode -6043

Dear All,

My DB2 running in Windows NT platform crashed occasionally with
the following error. I need to reboot the machine to make it functioning
again. Any idea what could be going wrong? THANKS!

------------------------------------------------------------
2005-12-30-15.09.09.140000 InstanceB2 Node:000
PID:294(db2syscs.exe) TID:381 Appid:none
base_sys_utilities sqleGetAgent Probe:25

Agent not allocated, sqlcode = -6043

2005-12-30-15.23.39.796000 InstanceB2 Node:000
PID:304(db2syscs.exe) TID:423 Appid:*LOCAL.DB2.051230072338
base_sys_utilities sqledint Probe:0 DatabaseB12

Crash Recovery is needed.
Reply With Quote
  #2 (permalink)  
Old 01-03-06, 11:15
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Code:
>db2 ? sql6043


SQL6043C No FCM request blocks are available.

Explanation:

No FCM request block is available. FCM is unable to increase the
number of request blocks automatically because the maximum value
has been reached.

 The statement cannot be processed.

User Response:

Try the request again after other processes have freed up some of
this resource.

 sqlcode :  -6043

 sqlstate :  57011
Reply With Quote
  #3 (permalink)  
Old 01-03-06, 11:27
qxz qxz is offline
Registered User
 
Join Date: Apr 2002
Posts: 84
Question

and another error in the event viewer:

The description for Event ID ( 4 ) in Source ( Stacker Server ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: [EProgram::checkPwd] getPassword errorcode: -805


but this problem was resolved by itself later. we didn't do anything.

please help!
Reply With Quote
  #4 (permalink)  
Old 01-03-06, 11:29
qxz qxz is offline
Registered User
 
Join Date: Apr 2002
Posts: 84
thanks. but how to prevent this? need to code the logic explicitly
in the programs?



Quote:
Originally Posted by n_i
Code:
>db2 ? sql6043


SQL6043C No FCM request blocks are available.

Explanation:

No FCM request block is available. FCM is unable to increase the
number of request blocks automatically because the maximum value
has been reached.

 The statement cannot be processed.

User Response:

Try the request again after other processes have freed up some of
this resource.

 sqlcode :  -6043

 sqlstate :  57011
Reply With Quote
  #5 (permalink)  
Old 01-03-06, 11:33
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
What do you have set for the dbm configuration parameters FCM_NUM_BUFFERS and MAX_COORDAGENT?
__________________
--
Jonathan Petruk
DB2 Database Consultant
Reply With Quote
  #6 (permalink)  
Old 01-03-06, 11:35
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Try increasing FCM_NUM_BUFFERS
Reply With Quote
  #7 (permalink)  
Old 01-04-06, 00:23
qxz qxz is offline
Registered User
 
Join Date: Apr 2002
Posts: 84
Question

FCM_NUM_BUFFERS is 2120, and maxagents 500.
that was not enough?

Meanwhile, there is "maximal connection per minutes" in
the "performance configuration". I changed the value
from 60 to 120. Does it help?


Quote:
Originally Posted by J Petruk
What do you have set for the dbm configuration parameters FCM_NUM_BUFFERS and MAX_COORDAGENT?
Reply With Quote
  #8 (permalink)  
Old 01-04-06, 08:15
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
Quote:
Originally Posted by qxz
FCM_NUM_BUFFERS is 2120, and maxagents 500.
that was not enough?
I don't know your system but ours is set to 4096, and I can only assume that's the default since I don't recall tinkering with it.
__________________
--
Jonathan Petruk
DB2 Database Consultant
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