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 IBM MQ Support » messageData limited with application activity trace

Post new topic  Reply to topic
 messageData limited with application activity trace « View previous topic :: View next topic » 
Author Message
vasilev
PostPosted: Fri Mar 15, 2024 6:43 am    Post subject: messageData limited with application activity trace Reply with quote

Acolyte

Joined: 31 Oct 2014
Posts: 58
Location: Germany

Hello,

I have configured mqat.ini like:


Code:
AllActivityTrace:
  ApplClass=USER
  ActivityInterval=1
  ActivityCount=100
  TraceLevel=MEDIUM
  TraceMessageData=10000
  StopOnGetTraceMsg=OFF
  SubscriptionDelivery=BATCHED



according to the information provided from the vendor:

TraceMessageData 0 - 104 857 600 ( maximum 100 MB) Amount of message data traced in bytes for MQGET, MQPUT, MQPUT1, and Callback operations

In my case it is 10000 bytes. but even in this case - I have tested with some sample text with amqsput:

"Prevent the sample activity trace program from generating data"

and in the end I receive :

"Prevent the sample activity trace progra"


'messageData': '68652073797374656D207265736F7572636520524C494D49545F4E4F46494C452069732073657420', 'msgLength': 152,

I am reading with amqsevt .. -q SYSTEM.ADMIN.TRACE.ACTIVITY.QUEUE -w 1 -o json | jq . -c --slurp


Do you know why is this happening, am I missing something..


thank you !
_________________
Regards
V.Vasilev
Back to top
View user's profile Send private message Visit poster's website
vasilev
PostPosted: Fri Mar 15, 2024 7:09 am    Post subject: Reply with quote

Acolyte

Joined: 31 Oct 2014
Posts: 58
Location: Germany

I have answered myself ..

#define MAX_FORMAT_DATA_LEN (40) /* Max bytes to print of message data */


So here is the other question .. if I change this to 10000, what will be the change to the CPU/MEM usage .. is there some optimal max limit that has no impact to the QM


thanks
_________________
Regards
V.Vasilev
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » messageData limited with application activity trace
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.