Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
  • RFA /
avatar image
Question by rbanerjee · Feb 07, 2018 at 04:52 PM · rfa.nettracing

traceMsgFileMaxFileSize

We use RFA.NET 8

We have set the following in the configuration file

\Connections\RFA_IDN\traceMsgFileMaxFileSize = 100000000

However we notice that the files getting created are crossing the 100MB mark and keeps growing unlimited till the process is stopped.

Following is the configuration in the entirety

\Connections\RFA_IDN\traceMsgToFile = True
\Connections\RFA_IDN\traceRespMsg = True
\Connections\RFA_IDN\traceReqMsg = True
\Connections\RFA_IDN\traceMsgFileMaxFileSize = 100000000
\Connections\RFA_IDN\traceMsgMultipleFiles = True
\Connections\RFA_IDN\traceMsgFileName = "F:\Logs\RFA\RSSL_IDN_log"
\Connections\RFA_IDN\traceMsgMultipleFiles = true

How do we make the files roll to a new trace file after the size is exceeded

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by moragodkrit.chumsri_1 · Feb 07, 2018 at 08:41 PM

@rbanerjee

For testing purpose, Can you reduce MaxFileSize to small value such as 100000?

I have copied your configuration file and test with StarterConsumer from RFA8.1.0 package and not found the issue. RFA generates mulitple files when the size over the max file size.

Below is screen shot from running directory.

And below is my config. I just test it with multiple FX RICs and change MsgFileName

ExampleRFA.cfg
\Connections\RFA_IDN\connectionType		= "RSSL"
\Connections\RFA_IDN\rsslPort 			= "14002"
\Connections\RFA_IDN\hostName			= "<ADS Server>"
\Connections\RFA_IDN\traceMsgToFile = True
\Connections\RFA_IDN\traceRespMsg = True
\Connections\RFA_IDN\traceReqMsg = True
\Connections\RFA_IDN\traceMsgFileMaxFileSize = 100000
\Connections\RFA_IDN\traceMsgMultipleFiles = True
\Connections\RFA_IDN\traceMsgFileName = "RSSL_IDN_log"
\Connections\RFA_IDN\traceMsgMultipleFiles = true
\Sessions\Session1\connectionList= "RFA_IDN"
StarterConsumer.cfg
\itemList = "EUR=,JPY=,AUD=,HKD=,THB=,0001.HK,0005.HK"

screenshot2.png (37.2 KiB)
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by rbanerjee · Mar 12, 2018 at 02:49 PM

When I run the configuration on the StarterConsumer application I see the same behavior as you have shown above. However in the Prod application where we have more than 2000 subscriptions and a 1GB file size setting, RFA does not seem to respect that.

\Sessions\GCM_1\connectionList = "RFA_IDN"
\Sessions\GCM_1\threadModel = "Single"

\Connections\RFA_IDN\connectionType = "RSSL"
\Connections\RFA_IDN\rsslPort = "14002"
\Connections\RFA_IDN\softLinkInstanceSharing = True
\Connections\RFA_IDN\connectRetryInterval = 15000
\Connections\RFA_IDN\pingInterval = 20000
\Connections\RFA_IDN\numOutputBuffers = 1500
\Connections\RFA_IDN\messageThrottleRate = 400
\Connections\RFA_IDN\serverList = "trepServerName"
\Connections\RFA_IDN\traceMsgToFile = True
\Connections\RFA_IDN\traceRespMsg = True
\Connections\RFA_IDN\traceReqMsg = True
\Connections\RFA_IDN\traceMsgFileName = "F:\Logs\RFA\RSSL_RFANET_TestConsole_VS120Sub.log"
\Connections\RFA_IDN\traceMsgFileMaxFileSize=1000000000
\Connections\RFA_IDN\traceMsgMultipleFiles = true

How do I go about debugging this issue ?

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
7 People are following this question.

Related Questions

RFA .NET MMT_MARKET_PRICE subscription field filtering

from where can i get RFA8_NET120_x64.dll

RFA.NET using in ASP.NET project

RFA .NET excessive memory usage when subscribing to thousands of RIC codes

Multiple sessions with same name

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges