Author |
Message
|
Zappa |
Posted: Thu Jan 14, 2010 8:20 am Post subject: user trace files |
|
|
 Acolyte
Joined: 06 Oct 2005 Posts: 55 Location: UK
|
I have a broker (6.1.0.4 on AIX) that is creating largish files in /var/mqsi/common/log and I don't see any tracing turned on.
The suffix for the files is .trace.bin.*
I am correct in thinking the mqsireportbroker should tell me what's being traced shouldn't it? The event log doesn’t show any traces either.
I stopped/started the broker and cleared out these files but they've come back.
Thanks for any advice... |
|
Back to top |
|
 |
nathanw |
Posted: Thu Jan 14, 2010 8:25 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
well if you opened the files and read them then it would show what is actually being written to the files
maybe post an example of teh content on here if you do not know _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
Zappa |
Posted: Thu Jan 14, 2010 9:01 am Post subject: |
|
|
 Acolyte
Joined: 06 Oct 2005 Posts: 55 Location: UK
|
Thanks for the swift reply - The contents look to be from one execution group only but is there a way to tell if the trace is on or off.
The messageflow names are mentioned through and it looks to be a service trace as far as I can tell. |
|
Back to top |
|
 |
SOLOHERO |
Posted: Thu Jan 14, 2010 9:15 pm Post subject: |
|
|
Centurion
Joined: 01 Feb 2007 Posts: 107
|
you can issue a command to check if the propeties of all the flows in the execution group, this shows if any flows has turned the begug on(Trace level.)
MQ Command:
mqsireportproperties <BROKERName> -e <ExecutionGroup> -o
AllMessageFlows -a
Hope this helps. _________________ Thanks |
|
Back to top |
|
 |
Zappa |
Posted: Fri Jan 15, 2010 1:55 am Post subject: |
|
|
 Acolyte
Joined: 06 Oct 2005 Posts: 55 Location: UK
|
It does help - Thanks...
The messageflow names I can see in the .trace.bin. files have;
userTraceLevel='none'
traceLevel='none'
userTraceFilter='none'
when I issue the command against the EG, in fact all of them!
The four files have the current date / time and are rolling. I'm puzzled as all mqsireportbroker commands report no trace active. |
|
Back to top |
|
 |
SOLOHERO |
Posted: Sun Jan 17, 2010 3:19 pm Post subject: |
|
|
Centurion
Joined: 01 Feb 2007 Posts: 107
|
The trace will be none by default, unless you set the trace to debug you dont see that.
So what exactly is your problem . _________________ Thanks |
|
Back to top |
|
 |
Zappa |
Posted: Mon Jan 18, 2010 1:28 am Post subject: |
|
|
 Acolyte
Joined: 06 Oct 2005 Posts: 55 Location: UK
|
The concern I have is that there are four large trace files under /var that are constantly being written to. To me this is an unnecessary overhead and all I want to do is turn the tracing off but don’t know how as I don’t know which element has it turned on. |
|
Back to top |
|
 |
nathanw |
Posted: Mon Jan 18, 2010 2:47 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
Can you post some entries from these files so that we can have a look at them _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
SOLOHERO |
Posted: Tue Jan 19, 2010 10:21 pm Post subject: |
|
|
Centurion
Joined: 01 Feb 2007 Posts: 107
|
Try The below command..
This will actually set all the flows in the execution group trace to be none.
mqsilist -e ExecutionGroup|awk '/BIP8131I/ {print("sudo -u mqsi mqsichangetrace -u -e ExecutinGroup -f "$3" -l none")}'|ksh
this will take a while..depends on how many flows you got..
hope this helps. _________________ Thanks |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Jan 20, 2010 4:26 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
It's possible you have a phantom eg. |
|
Back to top |
|
 |
|