tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 50467] Occasional NIO connector lockups on high load
Date Thu, 16 Dec 2010 22:07:00 GMT

--- Comment #3 from Steven Hugg <> 2010-12-16 17:06:55 EST ---
I haven't reproduced it, but I would imagine that inserting a Thread.sleep()
after the call to key.attach(null) in cancelledKey() might do it.

For now I have just put a null check in the above loop like so:

                        if (attachment != null)
                            processKey(sk, attachment);
                        } else {
                            log.warn("NioEndpoint: Attachment was null");

Not sure if that is correct, but better than the alternative ;)

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message