select() returns empty key set
Alan.Bateman at Sun.COM
Tue Mar 10 02:00:11 PDT 2009
Robert Larsen wrote:
> Thanks for the explanation. Using the Poll based selector seems to have
> solved the problem, so thanks a lot.
A side effect of switching to the poll based Selector is that you'll
probably see a higher load on your systems. (esp. the chat servers where
you have a lot of connections).
> I have 130 game servers that had this problem, each handled between 0
> and 250 simultanious connections. But I also have a couple of
> chatservers based on the same framework, each handling between 1500 and
> 10000 connections, but they always "behave". Does that make sense ?
Yes, assuming you are running into the issue I mentioned then it is
probably that the game servers create the conditions to tickle this.
More information about the nio-dev