Author |
Message
|
mqfond |
Posted: Wed Apr 06, 2005 12:15 pm Post subject: Error 2102 MQRC_RESOURCE_PROBLEM |
|
|
Novice
Joined: 28 Mar 2005 Posts: 20
|
I searched for this error and coudn't find my solution. I have MQ 5.3 CSD08 running on win 2003 server. I have a queue manager with all the defaults like cirular logging and 3 primary and 2 secondary log files. I have a server conn channel that my application written in .NET uses to connect to the queue manager. What it does when we run is, connects to the database and generates a message and puts it on the queue, it does it for each message, nearly 1000 messages will be put in each transaction. The messages are mostly 1mb, few are nearly 3-4mb. I increased the message length to the max i.e 100mb on queue manager, queue and the server conn channel properties, but i get 2102 error after i publish some messgages. If i publish only few it works fine. I checked that the system resource is not an issue. What do you think might be the issue?? please help??? |
|
Back to top |
|
 |
malammik |
Posted: Wed Apr 06, 2005 12:20 pm Post subject: |
|
|
 Partisan
Joined: 27 Jan 2005 Posts: 397 Location: Philadelphia, PA
|
|
Back to top |
|
 |
Anirud |
Posted: Wed Apr 06, 2005 12:24 pm Post subject: |
|
|
 Master
Joined: 12 Feb 2004 Posts: 285 Location: Vermont
|
That would be my guess too, to check if the disk is full (since this is Windows). |
|
Back to top |
|
 |
mqfond |
Posted: Wed Apr 06, 2005 12:28 pm Post subject: |
|
|
Novice
Joined: 28 Mar 2005 Posts: 20
|
Thanks for the replies. I have 27GB of free space in my system. |
|
Back to top |
|
 |
Anirud |
Posted: Wed Apr 06, 2005 12:34 pm Post subject: |
|
|
 Master
Joined: 12 Feb 2004 Posts: 285 Location: Vermont
|
|
Back to top |
|
 |
mqfond |
Posted: Wed Apr 06, 2005 12:47 pm Post subject: |
|
|
Novice
Joined: 28 Mar 2005 Posts: 20
|
I checked that there are some FDC files generated. I checked that and i could find that it said log_full. You think its the log file??? But i have circular logging with 3 primary and 2 secondary and the dafult size, thought that log woudn't fillup with circular as it overwrites the old data. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Apr 06, 2005 12:57 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
no but if your transaction size is say 1000 messages @ 1MB you need to accomodate aprox 1Gig of logspace.
Your default setting gives you a 4 MB log file *3 primaries + 2 Secondaries = (5*4) = 20 MB.
So no you don't have the logspace to handle over 20 MB.
Now if your messages are not persistent and not in syncpoint and your channel NPMSPEED is set to fast you may have other problems.
Enjoy  |
|
Back to top |
|
 |
Anirud |
Posted: Wed Apr 06, 2005 1:07 pm Post subject: Re: Error 2102 MQRC_RESOURCE_PROBLEM |
|
|
 Master
Joined: 12 Feb 2004 Posts: 285 Location: Vermont
|
One consideration could be to increase the number of log files.
From System Administration Manual...
Quote: |
LogPrimaryFiles=3|2-62
The log files allocated when the queue manager is created.
The minimum number of primary log files you can have is 2 and the maximum is 62. The default is 3.
The total number of primary and secondary log files must not exceed 63, and must not be less than 3.
The value is examined when the queue manager is created or started. You can change it after the queue manager has been created. However, a change in the value is not effective until the queue manager is restarted, and the effect might not be immediate. |
For more details refer System Administration Manual. |
|
Back to top |
|
 |
Anirud |
Posted: Wed Apr 06, 2005 1:13 pm Post subject: |
|
|
 Master
Joined: 12 Feb 2004 Posts: 285 Location: Vermont
|
My Bad
Just thought of it as soon as I hit Submit
Increasing the number of log files would not help.
I guess you will have to increase the log space.
Again, refer the manual on how to do that. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Apr 06, 2005 1:18 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
63*4= 252 MB
No you need to increase not only the number of log files but as well the log file size.
You have to delete and recreate the qmgr. I don't know if windows allows you to specify the logfile size in the MMC but the comand line should allow you to do so (crtmqm).
And read up on the manuals to find out what are the min/max values for your environment in filesize.
Enjoy  |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Apr 06, 2005 3:18 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
fjb_saper wrote: |
I don't know if windows allows you to specify the logfile size in the MMC |
It does. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|