lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sachinpkale <sachinpk...@gmail.com>
Subject NIO connector and maxIdleTime
Date Thu, 20 Nov 2014 04:57:13 GMT
We are using SOLR 4.10.1 cloud setup and having following configuration in
etc/jetty.xml

<Call name="addConnector">
      <Arg>
          <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
            <Set name="host"><SystemProperty name="jetty.host" /></Set>
            <Set name="port"><SystemProperty name="jetty.port"
default="8983"/></Set>
            <Set name="maxIdleTime">50000</Set>
            <Set name="Acceptors">16</Set>
            <Set name="acceptQueueSize">3000</Set>
            <Set name="statsOn">false</Set>
            <Set name="confidentialPort">8443</Set>
            <Set name="requestHeaderSize">32768</Set>
          </New>
      </Arg>
</Call>

In Jetty documentation, it is mentioned that maxIdleTime is "Set the maximum
Idle time for a connection, which roughly translates to the
Socket.setSoTimeout(int) call, although with NIO implementations other
mechanisms may be used to implement the timeout." 
Does it mean that maxIdleTime is not necessarily socket timeout with NIO
connector? If not, what is the other mechanism to set socket timeout?



--
View this message in context: http://lucene.472066.n3.nabble.com/NIO-connector-and-maxIdleTime-tp4170040.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message