You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by ji...@apache.org on 2004/02/20 08:21:52 UTC

[jira] Created: (DIR-17) tune socket parameters in general

Message:

  A new issue has been created in JIRA.

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DIR-17
    Summary: tune socket parameters in general  
       Type: Improvement

     Status: Open
   Priority: Major

    Project: Directory
 Components: 
             Eve

   Assignee: Alex Karasulu
   Reporter: Alex Karasulu

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

Description:
Here are some settings we need to work with to prevent some problems and utilize resources more efficiently:

* Set send buffer size using setSendBufferSize(int size) this is less critical than the recieve buffer size but it might be worth tinkering with.  

* Set recieve buffer size using setReceiveBufferSize(int size) this perhaps has the most effect.  If we can propose a buffer size (note this does not definately set but proposes) that matches the buffer pool buffer size.

* Set keep-alives for client sockets to know when the client is down.  More on the use of keep alives can be found here:

http://www.unixguide.net/network/socketfaq/4.7.shtml
http://www.unixguide.net/network/socketfaq/2.8.shtml

* Set the timeout using setSoTimeout(int timeout) 

* Enable and set the socket linger settings using setSoLinger(boolean on, int linger) 

http://www.unixguide.net/network/socketfaq/4.6.shtml




---------------------------------------------------------------------
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