Home Help Center

Thread leak with Java

koblaskoblas Member david koblasOrganization: MyLifeProject: http <-> ice communications layer
I've noticed that my server is leaking threads using 3.3.1 and a java client & server.

The specific scenario is that the the client times out the request to the server and every time the client times out the server the thread appears to be leaked. This eventually runs the server out of file descriptors and a hanging death ensues.

Is this a known problem, fixed in a subsequent version, the release notes for 3.4 make no reference to any bugs fixed.

Comments

  • koblaskoblas Member david koblasOrganization: MyLifeProject: http <-> ice communications layer
    Possible Idea

    Just look for anybody who's seen this or figured things out.

    Reading lots of code at the moment, if anybody could shed some light on how the NIO java selector handles the case where the connection is closed -- there's just a few too many functions running around. Wondering if this is communicated to the worker thread or is thread/selector now leaked, thus the write never happens so the cleanup never happens.
Sign In or Register to comment.