directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Created: (DIR-18) Prevent phantom connections
Date Fri, 20 Feb 2004 07:29:52 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://nagoya.apache.org/jira/secure/ViewIssue.jspa?key=DIR-18

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DIR-18
    Summary: Prevent phantom connections
       Type: Bug

     Status: Open
   Priority: Major

    Project: Directory
 Components: 
             Eve

   Assignee: Alex Karasulu
   Reporter: Alex Karasulu

    Created: Thu, 19 Feb 2004 11:28 PM
    Updated: Thu, 19 Feb 2004 11:28 PM

Description:
Some clients will never propery cleanup after themselves.  This can under heavy load create
problems.  The server's input selector seems to think these phantom channels are ready all
the time and returns immediately from all select calls.  So a single phantom client will leave
you chewing up the CPU.  The client channel often does not exhibit proper behavoir where the
channel.read should return -1 for and EOF.  This may actually take some time for the timeout
to take effect.

The key here is to find selector keys that keep triggering select to return immediately. 
Check the channels of the selectors to see if they are writable to for example and cancel
them if they are not.  This is a really bad work around but for now that's one option.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message