[
https://issues.apache.org/jira/browse/CASSANDRA-20072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17897138#comment-17897138
]
Stefan Miklosovic edited comment on CASSANDRA-20072 at 11/11/24 9:50 AM:
-------------------------------------------------------------------------
[~Aburadeh]
1) why are your clients terminating connections in an abnormal way?
2) what is the frequency the clients connect? If we set no spam logger to not
log an error from a particular node for at most e.g. 1 minute, then after one
minute, if a client terminates abnormally, it would log it again. What is the
right frequency here, 1 hour?
3) Are IP addresses of connections always the same? In order words, you said on
the PR that you open thousands connections daily. How many clients that is? 10
clients opening thousands connections of 1000 clients opening couple
connections?
was (Author: smiklosovic):
[~Aburadeh]
1) why are your clients terminating connections in an abnormal way?
2) what is the frequency the clients connect? If we set no spam logger to not
log an error from a particular node at most e.g. 1 minute, then after one
minute, if a client terminates abnormally, it would log it again. What is the
right frequency here, 1 hour?
3) Are IP addresses of connections always the same? In order words, you said on
the PR that you open thousands connections daily. How many clients that is? 10
clients opening thousands connections of 1000 clients opening couple
connections?
> Log client address when detecting unknown exception in client networking
> -------------------------------------------------------------------------
>
> Key: CASSANDRA-20072
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20072
> Project: Cassandra
> Issue Type: Bug
> Components: Observability/Logging
> Reporter: Mohammad Aburadeh
> Assignee: Mohammad Aburadeh
> Priority: Urgent
> Fix For: 4.0.x, 4.1.x, 5.0.x, 5.x
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> We are getting hundreds of the below warnings in Cassandra logs:
> {code:java}
> WARN [epollEventLoopGroup-5-7] 2024-11-10 00:26:24,296
> ExceptionHandlers.java:139 - Unknown exception in client networking
> io.netty.channel.StacklessClosedChannelException: null
> at io.netty.channel.AbstractChannel.close(ChannelPromise)(Unknown
> Source)
> {code}
> This means the client dropped the connection abruptly or abnormally. The
> issue could be a network or application issue on the client side.
> Since there could be many client servers, Cassandra must log the client IP
> and the port so we can check what's the problem with that server.
> I'll attached the fix for this small change.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]