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

Thread cleanup error with leak test #35

Description

@patc888

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions