Hi, I don't think that particular change will help because:
1) we are not seeing any "too many open files" type error
2) the versions that I have tried don't have the catch in
NioSocketAcceptor.accept
3) even if they did, this change simply restores the exception we are
already seeing
I think
I've tried with the latest version of mina (2.0.16). I can reproduce the loop
although I saw an IOException rather than NetworkRecycledException. I think
we're going to have to advise customer to stop and restart their server as
it looks too complicated to automatically recover.
145576
It is going to be complicated to re-bind; probably the first patch will
simply let it fully fail. I’ll have to test the ulimit protection to see
if I can determine if the exception is related to ulimit or something else.
On Mon, Feb 26, 2018 at 11:35 AM, dgriff wrote:
Well according to this:
https://www.ibm.com/support/knowledgecenter/en/SSYKE2_9.0.0/com.ibm.java.multiplatform.90.doc/user/cinet.html
"an exception (NetworkRecycledException) is thrown to the application to
allow it either to fail or to attempt to rebind."
So is it possible to modify this code
What is it that you expect Mina to do when the networking is reset?
On Thu, Feb 22, 2018 at 5:48 AM, dgriff wrote:
> Yes, it contains that message. How would you handle such an exception?
>
>
>
> --
> Sent from: http://apache-mina.10907.n7.nabble.com/Apache-MINA-
>
Yes, it contains that message. How would you handle such an exception?
--
Sent from:
http://apache-mina.10907.n7.nabble.com/Apache-MINA-Developer-Forum-f6809.html
So, that is an IBM specific exception which extends IOException. Is the
message “Network Recycled while accepting connection” ? We can’t watch for
NetworkRecycledException but can probably watch for an IOException with the
word “recycled” in the message.
On Wed, Feb 21, 2018 at 12:33 PM, dgriff
Hmmm, appears the "Raw text" formatting option doesn't work.
120808 [NioSocketAcceptor-1] WARN
org.apache.mina.util.DefaultExceptionMonitor - Unexpected exception.
com.ibm.net.NetworkRecycledException: Network Recycled while accepting
connection
at
Oh, sorry, the web interface must have stripped it out for some reason. Will
try again:
--
Sent from:
http://apache-mina.10907.n7.nabble.com/Apache-MINA-Developer-Forum-f6809.html