Re: [xSocket-develop] Too many open files exception
Status: Inactive
Brought to you by:
grro
|
From: Gregor R. <gre...@go...> - 2009-01-19 10:33:46
|
... thanks, I'm going to fix this Gregor 2009/1/19 gk <gk...@ph...> > Hi... > > there is a minor error in your test. It outputs to have tested 200 > concurrent servers, but opens only 100. > I don't think it was intended this way... > > gk > > Zitat von Gregor Roth <gre...@go...>: > > > Hi Armine, > > > > have you already took a look into chapter 28 of the tutorial? > > Regarding to the Too many open files behaviour some documents a > > referred. On some window configurations it has been observed that the > > underlying selector of a Dispatcher accepts only a small number of > > concurrent connections. This is a JRE/OS behaviour. As a workaround > > you can set the number of the dispatchers with a higher value -> > > org.xsocket.connection.dispatcher.initialCount. Or you can set > > org.xsocket.connection.dispatcher.maxHandles. > > I also added a new JUnit-Test based on your test (see > > > > http://xsocket.svn.sourceforge.net/viewvc/xsocket/xsocket/core/trunk/src/test/java/org/xsocket/connection/ManyConcurrentServerTest.java?view=markup[1]<http://xsocket.svn.sourceforge.net/viewvc/xsocket/xsocket/core/trunk/src/test/java/org/xsocket/connection/ManyConcurrentServerTest.java?view=markup%5B1%5D> > ). > > Within the continuous integration xSocket's tests runs on a Windows > > XP professional/SP3 as well as on a RedHed (centos) multicore > > platform. Gregor > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > xSocket-develop mailing list > xSo...@li... > https://lists.sourceforge.net/lists/listinfo/xsocket-develop > |