Java process on Mac OSX does not release socket

前端 未结 5 1909
小鲜肉
小鲜肉 2021-02-14 00:00

I am experiencing an odd problem every now and then (too often actually).

I am running a server application, which is binding a socket for itself.

But once in a

5条回答
  •  抹茶落季
    2021-02-14 00:39

    Just a shot in the dark here, but make sure that any thread that is waiting on Selector.select() has been woken up, and has exited.

提交回复
热议问题