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 sbhat · Dec 02, 2020 at 05:29 AM · rfa c++

RFA C++ client hung

We had this issue over 3 times where rfa core went into a wait-forever scenario where it was trying free up memory for internal event queue due to slow consumer or whatever reason. We highly suspect it is waiting on a consumed event to be consumed so it's never going to happen. We have not seen any disconnection or error.. just that it stopped updating market data.

#0 0x00007f4c62d91a6c in __lll_lock_wait () from /lib64/libpthread.so.0 #1 0x00007f4c62d8c783 in pthread_mutex_lock () from /lib64/libpthread.so.0 #2 0x00000000006b34ae in rfa::common::EventQueueImpl::decrementCount() () #3 0x000000000083d034 in rfa::common::HandleImpl::cleanUp() () #4 0x00000000007f8b8e in rfa::support::RecyclableMgr::disposeRecyclableObject(rfa::support::RecyclableObject*) () #5 0x000000000077dfc0 in rfa::common::HandleTableImpl::deallocateHandleImpl(rfa::common::HandleImpl*) () #6 0x000000000088213b in rfa::sessionLayer::OMMItemEventImplMsg::cleanup() () #7 0x0000000000882229 in rfa::sessionLayer::OMMItemEventImplMsg::dispose() () #8 0x00000000006b4069 in rfa::common::EventQueueImpl::dispatch(long) ()

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 · Jan 14 at 04:32 AM

The case is now closed. The solution has been provided to improve event processing and avoid mutex lock. After testing the new implementation, it seems to help resolve the 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.

avatar image
REFINITIV
Answer by moragodkrit.chumsri_1 · Dec 03, 2020 at 10:54 AM

@sbhat

Apologize for the late response. I have reviewed the call stack and it quite hard to pinpoint possible issues based on the call stack. However, there is some case that users put the codes to destroy the event queue or destroy the RFA object in the destructor of their class and it can cause unexpected behavior when the application deletes the object and shows a similar call stack. I believe that the root cause may relate to some specific workflow and it requires further investigation by RDC API Support.

Note that RDC is a subscription-based support service and basically you can contact RDC subscribers inside your company in order to submit a new case to the RDC API support team via Contact Premium Support at

https://developers.refinitiv.com/en/api-catalog/thomson-reuters-enterprise-platform/robust-foundation-api-rfa-c--


Anyway, I just found that you already opened a case with the Help desk team, we will therefore refer the issue to RDC API Support so that they can help you investigate the issue further.

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 >
6 People are following this question.

Related Questions

Reference Data Request Rejected: Request message payload not supported on non-private streams

How to encode / decode? Create RespMsg objects from Buffer?

Running multiple apps with different RFA C++ API versions on same machine

Hi, Which version of RFA C++ should we use that supports MarketFeed & 64-bit OS ? Thank you.

RFA Market by Price: Handling keys like A-O, B-U

  • 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