ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » how to deal with the maximum length of queue file?

Post new topic  Reply to topic
 how to deal with the maximum length of queue file? « View previous topic :: View next topic » 
Author Message
tiangl
PostPosted: Fri Apr 29, 2005 10:05 pm    Post subject: how to deal with the maximum length of queue file? Reply with quote

Apprentice

Joined: 19 Nov 2004
Posts: 48

MQ has a limitation about the length of queue file, the file size has to be less 1G. but in my case, the msg might exceed 1G in some period. how to deal with in this situation?

thanks!
Back to top
View user's profile Send private message MSN Messenger
zpat
PostPosted: Sat Apr 30, 2005 12:43 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

1 GB messages! Not a good idea, you would need 1GB xmit queues as well to send it anywhere.

Use multiple messages with the groupid set to allow the other end to re-assemble the data.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Sat Apr 30, 2005 4:17 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Not even a possible idea. Max MQ Message length is 100 MB.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
tiangl
PostPosted: Sat May 07, 2005 5:48 pm    Post subject: sorry,I didn't make it clear Reply with quote

Apprentice

Joined: 19 Nov 2004
Posts: 48

my question is that the length of queue file must be less than 1G,but in sometime, the queue will be put into lots of msg, the total msg's size maybe exceed 1G. how to deal with this situation? is there any way to extend the queue file size ? my platform is aix v5.3, mq is v5.3.
Back to top
View user's profile Send private message MSN Messenger
fjb_saper
PostPosted: Sat May 07, 2005 6:37 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

You have to look at this in a practical manner.
With inputs of this size you need to create restart/recovery points.
Let's say every 10 to 12 MB. (5 to 12 messages ?)
Now your messages should only be pass through.
At any point in flight you should not have more than 20 to 30 MB present on the queue (12 MB -- in flight + 12 uncommitted).

MQ should be able to hand this with no problem. You will have to monitor the process carefully as you will not be able to continue if there is a problem with the channel or the receiving application. And you will be limited by the speed of the receiving application.

Enjoy
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Sat May 07, 2005 9:40 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Quote:

my question is that the length of queue file must be less than 1G

Not true.

If you want to use individual queues that will hold more than 2 GB of data, you must enable /var/mqm to use large files.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
tiangl
PostPosted: Sat May 07, 2005 10:17 pm    Post subject: Reply with quote

Apprentice

Joined: 19 Nov 2004
Posts: 48

Peter,

got it,thanks a lot!
Back to top
View user's profile Send private message MSN Messenger
Michael Dag
PostPosted: Sun May 08, 2005 6:59 am    Post subject: Re: how to deal with the maximum length of queue file? Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

tiangl wrote:
the msg might exceed 1G in some period.

What on earth are 1G sized messages ?
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
sebastianhirt
PostPosted: Mon May 09, 2005 2:55 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

Hi Michael,

I don't think that's so unrealistic. We do have some Business Warehouse reports going trough our Middleware that are up to 2 GB big. Even after compression, they are 400 MB. So I can really imagine, that there are scenarios where you need to transport messages that are that incredibly big.

cheers

Sebastian
Back to top
View user's profile Send private message
Tibor
PostPosted: Mon May 09, 2005 4:08 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

Micheal,

Just imagine a pub/sub movie server

Tibor
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Mon May 09, 2005 4:12 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

Sebastian/Tibor,
yes I can imagine those examples, but in my mind that's file transfer, not messages.
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
sebastianhirt
PostPosted: Mon May 09, 2005 4:27 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

I didn't say that I find it a good idea...
In fact I was suggesting to print it out and fax it... That would certainly be even faster than "MQSeries" it trough the WAN
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » how to deal with the maximum length of queue file?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.