Tried switching from
"org.eclipse.jetty.server.bio.SocketConnector" to
"org.eclipse.jetty.server.nio.SelectChannelConnector"
<Call name="addConnector">
<Arg>
<New
class="org.eclipse.jetty.server.nio.SelectChannelConnector">
<Call class="java.lang.System"
name="setProperty">
<Arg>log4j.configuration</Arg>
<Arg>etc/log4j.properties</Arg> </Call>
<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">2</Set>
<Set name="statsOn">false</Set>
<Set name="confidentialPort">8443</Set>
<Set
name="lowResourcesConnections">5000</Set>
<Set
name="lowResourcesMaxIdleTime">5000</Set>
</New>
</Arg>
</Call>
And the problem seems to
disappear - with the above connector-config I
consistently get 2 secs response-time.
It is just that Solr seems to recommend org.eclipse.jetty.server.bio.SocketConnector
http://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x/solr/example/etc/jetty.xml
(where they build 4.x releases)
http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/example/etc/jetty.xml
(planed for future 5.x releases)