linux - GridGain 6.2.0 / 6.2.1 : too many file descriptors open -


after upgrading gridgain 6.2.0, on mac , linux "too many open files" exceptions when running our junit test case suite. individual test cases run fine on their. these errors when run entire suite. has changed in number of files gridgain keeps open in 6.2.x? here example of exception on mac (on linux, error similar stems nio package). increasing open file limit addresses on os resolves issue issue bug or additional upgrade item noted?

thanks

[2014-09-10 12:02:49,396] error gridtcpdiscoveryspi - failed accept tcp connection on mac os may have many file descriptors open (simple restart solves issue) [] java.net.socketexception: invalid argument @ java.net.plainsocketimpl.socketaccept(native method) @ java.net.abstractplainsocketimpl.accept(abstractplainsocketimpl.java:398) @ java.net.serversocket.implaccept(serversocket.java:530) @ java.net.serversocket.accept(serversocket.java:498) @ org.gridgain.grid.spi.discovery.tcp.gridtcpdiscoveryspi$tcpserver.body(gridtcpdiscoveryspi.java:5037) @ org.gridgain.grid.spi.gridspithread.run(gridspithread.java:67) 

from version of gridgain upgrading 6.2.1? error caused shared memory communication between nodes on 1 host. can fixed increasing open files limit in operation system, or switching shared memory off. can check if exception reproduced without shared memory? switch off configure communication spi this:

<property name="communicationspi">     <bean class="org.gridgain.grid.spi.communication.tcp.gridtcpcommunicationspi">         <property name="sharedmemoryport" value="-1"/>     </bean> </property> 

Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -