question

Upvotes
Accepted
3 0 1 2

EMAJ version 1.1.1.E2 keeps hitting disconnection intermittently

the following error seen in the log , does anyone know what is wrong and what needs to be changed ? EMAJ API is connecting to TREP ADS version 2.6.10.

==========================================================

10:21:29.140 pool-109-thread-1 INFO EMAMicroCoordinator - onStatusMsg: StatusMsg
streamId="5"
domain="MarketPrice Domain"
state="Open / Suspect / None / 'channel down.'"
name="1314.HK"
serviceId="179"
serviceName="HKT"
StatusMsgEnd

10:21:29.140 pool-105-thread-1 ERROR OmmConsumerImpl - loggerMsg
ClientName: ItemCallbackClient
Severity: Error
Text: Received an item event without user specified pointer or stream info
Instance Name TRADE1_2
RsslReactor 1adf83d8
RsslReactorChannel 74a5ea58
RsslSelectableChannel 51f3a79
loggerMsgEnd


10:21:29.140 pool-103-thread-1 ERROR OmmConsumerImpl - loggerMsg
ClientName: ItemCallbackClient
Severity: Error
Text: Received an item event without user specified pointer or stream info
Instance Name QUOTE1_1
RsslReactor 4f1bda2d
RsslReactorChannel 32e2da8f
RsslSelectableChannel 5fb8f641
loggerMsgEnd

10:14:14.116 pool-103-thread-1 WARN OmmConsumerImpl - loggerMsg
ClientName: LoginCallbackClient
Severity: Warning
Text: RDMLogin stream state was changed to suspect with status message
username <not set>
usernameType <not set>

State: Open/Suspect/None - text: ""
loggerMsgEnd

==========================================================

elektronrefinitiv-realtimeelektron-sdkema-apirrtelektron-message-api
icon clock
10 |1500

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

Hello @yiu.hing.eric.lee, as you are RDC named user, I've created a service ticket for this question as Case: 06547934 EMAJ version 1.1.1.E2 keeps hitting disconnection intermittently.

A consultant will contact you directly via email soon.

I'll take care of this question/case.

According to the investigation, the customer set ConnectionPingTimeout to 10 seconds instead of 30 seconds. So, I believe that this problem is from a non-optimized configuration.

I'm waiting for the explanation from the customer and will update this case as an answer once the situation is clear.

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
1.9k 7 10 16

After the investigation, it turned out that a ConnectionPingTimeout configuration setting was decreased to test the disconnection problem.

Regarding Ping Management from ETAJ_DevGuide document:

Ping or heartbeat messages indicate the continued presence of an application. These are typically required only when no other data is exchanged. For example, there may be long periods of time that elapse between requests made from an OMM consumer application. In this situation, the consumer sends periodic heartbeat messages to inform the providing application that it is still connected.

So, if the ConnectingPingTimeout has been optimized reset to the default value. The problem can be resolved then.

Further than that, the other situation that makes the server cuts a connection is a slow consumer problem. The slow consumer problem can result in two consequences:

  • An application thread takes a heavy CPU consumption and seizes an EMA underlying layer's resource until the underlying layer could not maintain the Ping Management.
  • The underlying layer can still maintain the Ping Management, but the application couldn't receive any further incoming messages from the server anymore because a TCP buffer overflows in a network/communication layer.

The slow consumer problem can be mitigated by tuning up the application performance.

icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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