|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Resource Error(2102) |
« View previous topic :: View next topic » |
Author |
Message
|
sidhusaju |
Posted: Mon Jun 04, 2007 11:39 pm Post subject: Resource Error(2102) |
|
|
Apprentice
Joined: 03 May 2007 Posts: 27
|
Hi all,
From my application(vb.net windows application) I am using a
for loop for sending messages. I am sending nearly 75 messages
at a time one by one(each message approx:273 kb of data).
I was able to do the same thing for some time. After some time
I got an error(reason code:2102 resource error).
From MQ Series(Thanks for the Great Help, I came to know this is due to resource problem of QueueManager. What I had done is I just increased all the Log file size to 10 times what it was.
Now it is working fine. But I want to know the optimum value that I should set for the below attributes of a Queue manager.
Primary Log files( it was 3 , I set to 30)
Secondary log files(it was 2, I set to 20)
Log file(256 , I changed to 2560)
Logging ( circular logging)
Log Buffer Pages(0 , I changed to 512)
LogWriteIntegrity(triplewrite changed to single write)..
The other thing is , even though it is said the maximummessage size and
maximum queue manager size is 100mb , in my queuemanager I am able to hold nearly 3000 messages each of 273 kb. How it is happening.
My mq version is 6.0?
Thanks and Regards |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jun 04, 2007 11:55 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
The amount of circular log you need is dependant on the maximum number of messages you have uncommitted at a given time and their size; it's not connected to the number of messages held in queues which are stored separately. This (of course) ties back to your application design in so far as the number of uncommitted messages is controlled by the application's unit of work boundaries.
There should be enough log space to hold all the expected in-flight messages for the application you're running, plus a margin. There are some redbooks and white on sizing IIRC, but it can be a bit rule of thumb.
If you need the kind of space your post is talking about, you might want to confirm the messages are being committed where you think they are, and uncommitted transactions are not building up, as a first step. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|