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 » Question: Dead Letter Q...in a different File Sys in UNIX?

Post new topic  Reply to topic
 Question: Dead Letter Q...in a different File Sys in UNIX? « View previous topic :: View next topic » 
Author Message
lnm
PostPosted: Fri Jan 30, 2004 9:40 am    Post subject: Question: Dead Letter Q...in a different File Sys in UNIX? Reply with quote

Apprentice

Joined: 12 Mar 2002
Posts: 43
Location: Florida

Has anyone taken the Dead Letter Queue and put it into a different files system in UNIX? What are the plusses and minuses? What do we need to look out for if we do this?
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Fri Jan 30, 2004 10:46 am    Post subject: Reply with quote

Jedi Knight

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

Besides the fact that I don't think it is possible to store a single queue of a QueueManager on a seperate filesystem...

Why do you want to do this???

Michael
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
lnm
PostPosted: Mon Feb 02, 2004 10:23 am    Post subject: Reply with quote

Apprentice

Joined: 12 Mar 2002
Posts: 43
Location: Florida

The concern is, if a particular queue gets full and messages start going to the dead letter queue, we don't want the file system getting filled. I'm not convinced it's a good idea and I was hoping someone else had some insight to this.
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Mon Feb 02, 2004 10:30 am    Post subject: Reply with quote

Jedi Knight

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

Where are the messages coming from?
from another Queuemanager or application directly connected to your Queuemanager?

Michael
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
lnm
PostPosted: Mon Feb 02, 2004 11:49 am    Post subject: Reply with quote

Apprentice

Joined: 12 Mar 2002
Posts: 43
Location: Florida

I don't know that the answer to your question really matters....that is, it doesn't matter why the message went to the dead letter queue. The issue is for the dead letter messages not to fill up the /var/mqm filespace and prevent applications from running. Does that make sense. Our availability manager has raised this concern.
Back to top
View user's profile Send private message
bduncan
PostPosted: Wed Feb 04, 2004 5:02 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

lnm,
What you are saying makes sense. However, I feel you'll stand to gain more by putting the queues and logs directories on separate partitions. I've had /var/mqm fill up on me several times, and typically it was because we allocated too many secondary circular logs, or one of our application queues filled up - as opposed to the dead letter queue getting too big.
In fact, I'd want my "applications to be prevented from running" if my dead letter queue filled up /var/mqm. The fact that so many messages are piling up on the dead letter queue is a symptom of some other problem that should be diagnosed before my applications are allowed to continue. Furthermore, you can set the MAXDEPTH and MAXMSGSIZE attributes on the dead letter queue to values which will prevent it from taking up a huge amount of disk space.
Lastly, you should consider running a dead letter handler that monitors the dead letter queue and deals with dead letter messages as they get put to queue so that they don't pile up.
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
jefflowrey
PostPosted: Thu Feb 05, 2004 5:39 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

bduncan wrote:
Furthermore, you can set the MAXDEPTH and MAXMSGSIZE attributes on the dead letter queue to values which will prevent it from taking up a huge amount of disk space.


I don't know that I'd do that, myself. The last place I'd want to be is where messages couldn't go on the DLQ because they were too big or because the MAXDEPTH was too small.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wmqiguy
PostPosted: Thu Feb 05, 2004 11:17 am    Post subject: Reply with quote

Centurion

Joined: 09 Oct 2002
Posts: 145
Location: Florida

From a purely technical standpoint, I don't see why you couldn't create a file system for:

/var/mqm/qmgrs/QMGR_NAME/queues/SYSTEM!DEAD!LETTER!QUEUE

I'm just afraid you are only dealing with the symptom instead of with the cure. Regardless of where the DLQ is located, there are ultimately finite resources.

The bigger issue (and Mr. Duncan already alluded to it) is how you are going to react when something hits the DLQ, so that you can intervene before those resources are expended? In other words, what is providing your safety net?

Are you using monitoring tools to get notified? Will you rely on a Dead Letter Handler? Custom code/scripting? Relying on separate filesystems might not be the best method of providing a safety net.

Good Luck!
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 » Question: Dead Letter Q...in a different File Sys in UNIX?
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.