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 » WebSphere Message Broker (ACE) Support » /var/mqsi/common/log getting full

Post new topic  Reply to topic
 /var/mqsi/common/log getting full « View previous topic :: View next topic » 
Author Message
Inisah
PostPosted: Tue Oct 14, 2014 7:07 am    Post subject: /var/mqsi/common/log getting full Reply with quote

Apprentice

Joined: 21 Mar 2014
Posts: 44

Hi All,
We had an issue in which the files in /var/mqsi/common/log kept on increasing and filesystems got full. We found that trace was enabled for a flow. So we disabled the trace . Now I would like to know if it is ok to delete the files under /var/mqsi/common/log ? Will it corrupt broker files in any way?

please help
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Oct 14, 2014 7:29 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

If there are large files related to a trace on a flow you can shrink them by:-

1) enable usertrace for the flow using the -r option on the changetrace command.
2) a second or so later, disable the usertrace.

That should shrink the files.

Personally, I wouldn't delete any files in that directory.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Oct 14, 2014 7:31 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You can also adjust/help prevent the same problem re-occuring by using the -c flag on mqsichangetrace to limit the number of trace entries it pulls.
Back to top
View user's profile Send private message
Inisah
PostPosted: Tue Oct 14, 2014 9:14 am    Post subject: Reply with quote

Apprentice

Joined: 21 Mar 2014
Posts: 44

Thanks for the inputs. What about the files that already got created? Can we delete them? Is it ok to do that?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Oct 14, 2014 9:29 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Inisah wrote:
Thanks for the inputs. What about the files that already got created? Can we delete them? Is it ok to do that?


Probably not.

The statement from smdavies99 to use the -r option will *reduce the size* of the files.
Back to top
View user's profile Send private message
McueMart
PostPosted: Wed Oct 15, 2014 2:00 am    Post subject: Reply with quote

Chevalier

Joined: 29 Nov 2011
Posts: 490
Location: UK...somewhere

I have ruthlessly deleted the log files out of /var/mqsi/common/log before when people have left on user trace and created humongous log files.

I haven't observed any adverse affects but YMMV.

You could always cat /dev/null > [huge log] to empty the file without actually deleting it.
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 » WebSphere Message Broker (ACE) Support » /var/mqsi/common/log getting 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.