You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Per Steffensen <st...@designware.dk> on 2014/05/12 15:07:58 UTC
Consider changing recommended Jetty connector...
...from org.eclipse.jetty.server.bio.SocketConnector to
org.eclipse.jetty.server.nio.SelectChannelConnector
I believe current recommendation is
org.eclipse.jetty.server.bio.SocketConnector because of:
*
http://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x/solr/example/etc/jetty.xml
*
http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/example/etc/jetty.xml
* Believe I also saw this recommendation expressed on some Solr Wiki
page, but I cannot find it right now
"Change the Solr Listening Port" in
https://cwiki.apache.org/confluence/display/solr/Running+Solr+on+Jetty
seems to indicate that SelectChannelConnector is sometimes recommended?
Reason that I suggest changing the recommendation can be found it my
thread " maxIdleTime has to pass before request is being handled" on
jetty-users mailing-list. See here:
http://dev.eclipse.org/mhonarc/lists/jetty-users/msg04727.html
(including the follow-ups)
Also suggest to make the recommendation consistent between jetty.xml's
in code and the Reference Guide.
Regards, Per Steffensen
Consider changing recommended Jetty connector...
Posted by Per Steffensen <st...@designware.dk>.
...from org.eclipse.jetty.server.bio.SocketConnector to
org.eclipse.jetty.server.nio.SelectChannelConnector
I believe current recommendation is
org.eclipse.jetty.server.bio.SocketConnector because of:
*
http://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x/solr/example/etc/jetty.xml
*
http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/example/etc/jetty.xml
* Believe I also saw this recommendation expressed on some Solr Wiki
page, but I cannot find it right now
"Change the Solr Listening Port" in
https://cwiki.apache.org/confluence/display/solr/Running+Solr+on+Jetty
seems to indicate that SelectChannelConnector is sometimes recommended?
Reason that I suggest changing the recommendation can be found it my
thread " maxIdleTime has to pass before request is being handled" on
jetty-users mailing-list. See here:
http://dev.eclipse.org/mhonarc/lists/jetty-users/msg04727.html
(including the follow-ups)
Also suggest to make the recommendation consistent between jetty.xml's
in code and the Reference Guide.
Regards, Per Steffensen
Re: Consider changing recommended Jetty connector...
Posted by Shawn Heisey <so...@elyograg.org>.
On 5/12/2014 7:07 AM, Per Steffensen wrote:
> ...from org.eclipse.jetty.server.bio.SocketConnector to
> org.eclipse.jetty.server.nio.SelectChannelConnector
I made this change on my own Solr install (based on the example) a long
time ago. I seem to remember a comment in the Jetty6 config for 1.x/3.x
that there was a problem with nio on Windows, but that memory is very
old. I don't think that problem exists any more.
I thought this change had already been made, but it's still bio in the
example jetty config for branch_4x. I know that the change from bio to
nio was made in some other part of Solr, but perhaps that was a code
change in Solr and its testing framework.
Thanks,
Shawn
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org