select() returns empty key set

Robert Larsen robert at komogvind.dk
Thu Mar 5 06:22:13 PST 2009


Alan Bateman wrote:
> Does it happen if you use the poll based Selector
> (-Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider)?
>
Thanks for the quick answer. I will certainly try the poll based
selector. The problem usually arises within a day or two so I will let
some servers run over the weekend and report back.

It would seem like there is a socket that is unregistered with the
selector but is not successfully unregistered with the kernel. Am I right ?

Robert

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20090305/d4ef7a91/attachment.bin 


More information about the nio-dev mailing list