Re: Solr not allowing persistent HTTP connections

2012-09-06 Thread Chris Hostetter
: Some extra information. If I use curl and force it to use HTTP 1.0, it is more : visible that Solr doesn't allow persistent connections: a) solr has nothing to do with it, it's entirely something under the control of jetty the client. b) i think you are introducing confusion by trying to

Re: Solr not allowing persistent HTTP connections

2012-09-06 Thread Aleksey Vorona
Thank you. I did the test with curl the same way you did it and it works. I still can not get ab (apache benchmark) to reuse connections to solr. I'll investigate this further. $ ab -c 1 -n 100 -k 'http://localhost:8983/solr/select?q=*:*' | grep Alive Keep-Alive requests:0 -- Aleksey On

Solr not allowing persistent HTTP connections

2012-09-05 Thread Aleksey Vorona
Hi, Running example Solr from the 3.6.1 distribution I can not make it to keep persistent HTTP connections: $ ab -c 1 -n 100 -k 'http://localhost:8983/solr/select?q=*:*' | grep Keep-Alive Keep-Alive requests:0 What should I change to fix that? P.S. We have the same issue in production

Re: Solr not allowing persistent HTTP connections

2012-09-05 Thread Aleksey Vorona
Some extra information. If I use curl and force it to use HTTP 1.0, it is more visible that Solr doesn't allow persistent connections: $ curl -v -0 'http://localhost:8983/solr/select?q=*:*' -H'Connection: Keep-Alive'* About to connect() to localhost port 8983 (#0) * Trying ::1... connected