-
Notifications
You must be signed in to change notification settings - Fork 15
Thread cleanup error with leak test #35
Description
when running the leak_test.sh, I see there's a little more work to do with thread cleanup:
Original threads: [RpsCalcuator-, ConfigWatcher, Reference Handler, main, Signal Dispatcher, Finalizer]
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................2015-11-17 15:14:38,545 ERROR Socket closed
java.net.SocketException: Socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
at java.net.ServerSocket.implAccept(ServerSocket.java:545)
at java.net.ServerSocket.accept(ServerSocket.java:513)
at com.yahoo.gondola.impl.SocketNetwork$Acceptor.run(SocketNetwork.java:188)
.Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedConstructorAccessor4.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at com.yahoo.gondola.Gondola.start(Gondola.java:113)
at com.yahoo.gondola.core.LeakTest.oneIteration(LeakTest.java:82)
at com.yahoo.gondola.core.LeakTest.(LeakTest.java:57)
at com.yahoo.gondola.core.LeakTest.main(LeakTest.java:40)
Caused by: java.lang.IllegalStateException: Another process is actively listening to localhost:2829
at com.yahoo.gondola.impl.SocketNetwork.(SocketNetwork.java:91)
... 7 more