Results 1 to 2 of 2

Thread: Thread leak with Java

  1. #1
    koblas is offline Registered User
    Name: david koblas
    Organization: MyLife
    Project: http <-> ice communications layer
    Join Date
    Sep 2007
    Posts
    2

    Thread leak with Java

    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.

  2. #2
    koblas is offline Registered User
    Name: david koblas
    Organization: MyLife
    Project: http <-> ice communications layer
    Join Date
    Sep 2007
    Posts
    2

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 08-20-2010, 06:22 AM
  2. How to handle java.lang.Thread.interrupt() in a safe way?
    By Markus Bernhard in forum Help Center
    Replies: 4
    Last Post: 06-28-2008, 11:29 AM
  3. Thread dump when Java server is stopped by IceGrid
    By mefoster in forum Bug Reports
    Replies: 1
    Last Post: 01-29-2007, 05:04 PM
  4. Leak Warning - Why?
    By acbell in forum Help Center
    Replies: 5
    Last Post: 08-03-2005, 02:55 PM
  5. With MFC, memory leak?
    By alwayscy1 in forum Help Center
    Replies: 4
    Last Post: 11-05-2003, 08:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •