This goes through the Apache Commons HTTP client library:
http://hc.apache.org/httpclient-3.x/

We used 'balance' at another project and did not have any problems.

On Tue, Feb 9, 2010 at 5:54 AM, Ian Connor <ian.con...@gmail.com> wrote:
> I have been using distributed search with haproxy but noticed that I am
> suffering a little from tcp connections building up waiting for the OS level
> closing/time out:
>
> netstat -a
> ...
> tcp6       1      0 10.0.16.170%34654:53789 10.0.16.181%363574:8893
> CLOSE_WAIT
> tcp6       1      0 10.0.16.170%34654:43932 10.0.16.181%363574:8890
> CLOSE_WAIT
> tcp6       1      0 10.0.16.170%34654:43190 10.0.16.181%363574:8895
> CLOSE_WAIT
> tcp6       0      0 10.0.16.170%346547:8984 10.0.16.181%36357:53770
> TIME_WAIT
> tcp6       1      0 10.0.16.170%34654:41782 10.0.16.181%363574:8888
> CLOSE_WAIT
> tcp6       1      0 10.0.16.170%34654:52169 10.0.16.181%363574:8890
> CLOSE_WAIT
> tcp6       1      0 10.0.16.170%34654:55947 10.0.16.181%363574:8887
> CLOSE_WAIT
> tcp6       0      0 10.0.16.170%346547:8984 10.0.16.181%36357:54040
> TIME_WAIT
> tcp6       1      0 10.0.16.170%34654:40030 10.0.16.160%363574:8984
> CLOSE_WAIT
> ...
>
> Digging a little into the haproxy documentation, it seems that they do not
> support persistent connections.
>
> Does solr normally persist the connections between shards (would this
> problem happen even without haproxy)?
>
> Ian.
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to