Author |
Message
|
mrfridaynight |
Posted: Mon Sep 03, 2007 3:53 am Post subject: Increasing size of local queue |
|
|
Apprentice
Joined: 13 Nov 2006 Posts: 44
|
Hi All,
How do i increase the buffer size of a local queue and what is the max size i can set this to?
I am experiening a problem where the log says the file is too big to be passed along the queue.
This file is not big at all - 2mb.
thanks
J |
|
Back to top |
|
 |
Vitor |
Posted: Mon Sep 03, 2007 4:01 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
When you say "the file" are you using file transfer software (PM4Data or similar)?
Is it the max queue size that's too small (unlikely), the queue manager log that's running out of space (more likely but not very) or an application error (unlikely if you're using PM4Data). Or are you running out of file space for the queue itself?
Also what log - PM4Data's, the queue manager's or your application's? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mrfridaynight |
Posted: Mon Sep 03, 2007 4:32 am Post subject: |
|
|
Apprentice
Joined: 13 Nov 2006 Posts: 44
|
This is the application log.
I am using a logicscope tool that picks up a text file from a directory and put it onto a remote queue and then sends it off.
This text file is 2mb which is not big at all. Small text files >1mb seem to go through fine.
There must be a queue setting to increase the buffer size to allow larger files to go through. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Sep 03, 2007 4:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Default max message size for a queue is 4Mb so unless you can post the MQ error you're getting my money stays on it being an application buffer. Especially as queues don't have buffers.
Though I've no familiarity with the tool in question so all this is speculative. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Sep 03, 2007 11:45 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
If you look in the perfomance support pac for your platform you will find a way to tune the amount of data a q will hold in memory before its forced to start I/O to the disk and start writing to the q file. Its sorta like a buffer for a q.
But this is not the original poster's problem. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|