question

Upvotes
Accepted
1 1 0 1

ChannelDownReconnecting event often happens with EMA Java

We are often experiencing "ChannelDownReconnecting event" like follows.

*=======================================================*
2018-08-06 09:00:08.947 [pool-4-thread-1] WARN c.t.e.a.OmmConsumerImpl - loggerMsg
ClientName: ChannelCallbackClient
Severity: Warning
Text: Received ChannelDownReconnecting event on channel Channel_1
RsslReactor @571db47e
RsslChannel @3034be56
Error Id 0
Internal sysError 0
Error Location null
Error text SocketChannel.read returned -1 (end-of-stream)
loggerMsgEnd
*=======================================================*

This event causes "channel out of buffers" error when reconnecting and stops our application.


Can someone please tell me:
1. What is this after all?
2. What would cause thie event?
3. Is there any way to avoid it?

elektronrefinitiv-realtimeelektron-sdkema-apirrtelektron-message-apichannel
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.

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks, AHS

@Takuya Miyamura

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' next to the appropriate reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

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
25.3k 87 12 25

Hi @Takuya Miyamura

Can provide more details on when and how often you are seeing this issue? Is it on startup of your app, or when it has been running for a while?

How many RICs are you consuming and how many instances of OmmConsumer does your application use to consume these RICs?

Also, does increasing the number of output buffers resolve the issue or just delay the occurence?

e.g. increasing to 5000 for your Channel config in the EMAConfig.xml file

<ChannelGroup>
    <ChannelList>
        <Channel>
            <Name value="Channel_1"/>    
            ...
            <GuaranteedOutputBuffers value="5000"/>
            <Host value="hostname"/>
            <Port value="14002"/>
                ...
        </Channel>

Please see the EMA Config guide for further details.

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.

@Takuya Miyamura, has the problem been resolved after the GuaranteedOutputBuffers is tweaked?

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.