Skip to content
This repository has been archived by the owner on Dec 5, 2018. It is now read-only.

Thread cleanup error with leak test #35

Open
patc888 opened this issue Nov 18, 2015 · 0 comments
Open

Thread cleanup error with leak test #35

patc888 opened this issue Nov 18, 2015 · 0 comments

Comments

@patc888
Copy link
Contributor

patc888 commented Nov 18, 2015

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant