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 » [WMQ 6.0] Queue full and filesystem full

Post new topic  Reply to topic
 [WMQ 6.0] Queue full and filesystem full « View previous topic :: View next topic » 
Author Message
Bahan
PostPosted: Mon Sep 10, 2007 11:57 pm    Post subject: [WMQ 6.0] Queue full and filesystem full Reply with quote

Apprentice

Joined: 16 Jul 2006
Posts: 47
Location: France

Hi everyone.

I encountered a little problem today which is the following : my filesystem /var/mqm is full because of a queue which is full (I think ^_^).
Code:
/dev/lv_mqsqmgr       65536        44  100%      175    67% /var/mqm


So I wanted to empty this queue, but the queue manager was stopped and it is not possible to start it cause its filesystem is full .
Code:
$ strmqm <MyQM>
WebSphere MQ queue manager '<MyQM>' starting.
The Queue Manager ended for reason 2341881233685872640 ''


When I look to the arborescence, I found my problem there :
Code:
/var/mqm/qmgrs/<MyQM>/queues/


I did a little 'du -ks *' and I saw the following result :
Code:
60588   <MyQueue>!Q


Does anyone knows how to empty this queue without running the queue manager ? What can I do to resolve this problem ?

Thank you a lot for your answers.

Regards.

Bahan
_________________
Close the world.||.txen eht nepO
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Sep 11, 2007 12:08 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

What Unix are you on? Can you temporally add more space to that file system?

If you're on linear logging you could try removing old files.

It's really one of those situations where prevention is better than cure.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sidharth_bora
PostPosted: Tue Sep 11, 2007 12:14 am    Post subject: Reply with quote

Voyager

Joined: 24 Nov 2005
Posts: 87

Are u using the linear log or circular. if linear, check the /var/mqm/log/QM/active , compress, housekeep the not required log, i believe this is the one occupying most of the space


if circular , tar the /var/mqm/qmgrs/qmgr/queues to some other directory. also for safety take saveqmgrbkup, also pthe qm.ini file
mv the queue taking most of the space to some back up

start the QM.

restore the bkup after ensuring you have quite a space, ask sys admin to add some space, if required.

restart the QM to take effect

regds
Sid
Back to top
View user's profile Send private message
sidharth_bora
PostPosted: Tue Sep 11, 2007 12:20 am    Post subject: Reply with quote

Voyager

Joined: 24 Nov 2005
Posts: 87

sorry vitor,
i didnt see your reply... probably we were typing at the same time.

regds
Sid
Back to top
View user's profile Send private message
Bahan
PostPosted: Tue Sep 11, 2007 12:24 am    Post subject: Reply with quote

Apprentice

Joined: 16 Jul 2006
Posts: 47
Location: France

Hi again.

Yup, we will try this solution of adding some space temporarily.
Then we will start the queue manager and then clear the queue.

Thanks to both of you.

Bahan
_________________
Close the world.||.txen eht nepO
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Sep 11, 2007 12:32 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

The key to this is planning space usage. If you're short of file sapce, make sure max depth is set to prevent messages being added to a queue if it's going to cause this problem.

Also have the logs on a separate device to the queues. This is not only best practice against failure, but allows the space requirement to be split. Remember circular logs are fully allocated at first use so they don't grow & hence can be left somewhere to their own devices.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Sep 11, 2007 2:38 am    Post subject: Reply with quote

Grand High Poobah

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

Vitor wrote:
The key to this is planning space usage. If you're short of file sapce, make sure max depth is set to prevent messages being added to a queue if it's going to cause this problem.

Also have the logs on a separate device to the queues. This is not only best practice against failure, but allows the space requirement to be split. Remember circular logs are fully allocated at first use so they don't grow & hence can be left somewhere to their own devices.

Vitor should have specified here the circular PRIMARY logs are fully allocated and will not grow.
Circular SECONDARY logs are fully allocated at first use but will grow a file system as they are created as needed...

Just a little precision...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Sep 11, 2007 2:46 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

fjb_saper wrote:
Vitor wrote:
The key to this is planning space usage. If you're short of file sapce, make sure max depth is set to prevent messages being added to a queue if it's going to cause this problem.

Also have the logs on a separate device to the queues. This is not only best practice against failure, but allows the space requirement to be split. Remember circular logs are fully allocated at first use so they don't grow & hence can be left somewhere to their own devices.

Vitor should have specified here the circular PRIMARY logs are fully allocated and will not grow.
Circular SECONDARY logs are fully allocated at first use but will grow a file system as they are created as needed...

Just a little precision...


I consider myself justly sharpened.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » [WMQ 6.0] Queue full and filesystem full
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.