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 the
What I did was add a more explicit check for the ulimit detector in
NioSocketAcceptor. It might prevent the Acceptor from spinning in your
situation. I use the word “might” because I haven’t analyzed the rest of
the issue. Just wanted to reduce the chance of a false-positive in the
ulimit detect
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 [NioSocket
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:
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 to
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-
> Developer-Forum-f6809.html
>
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
sun.nio.ch.ServerSocketChannelImpl.accept(S
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
Le 20/02/2018 à 13:12, dgriff a écrit :
> Hi, on z/OS it is possible to stop and restart the underlying TCP/IP stack.
> When this is done, the JVM throws the following exception:
>
>
>
> (This is with 2.0.1 but problem still appears to be in latest version)
Please provide the exeption and sta
11 matches
Mail list logo