Re: Use of multiple tomcat instance and shards.

2011-03-08 Thread rajini maski
Thank you all . Tommaso , Thanks. I will follow the links you suggested. Erick, It is Solr 1.4.1 .. Regards, Rajani Maski On Tue, Mar 8, 2011 at 10:16 PM, Tommaso Teofili wrote: > Just one more hint, I didn't mention it in the previous email since I > imagine the scenario you explained doe

Re: Use of multiple tomcat instance and shards.

2011-03-08 Thread Tommaso Teofili
Just one more hint, I didn't mention it in the previous email since I imagine the scenario you explained doesn't allow it but anyways you could also check Solr Cloud and its distributed requests [1]. Cheers, Tommaso [1] : http://wiki.apache.org/solr/SolrCloud#Distributed_Requests 2011/3/8 Tommaso

Re: Use of multiple tomcat instance and shards.

2011-03-08 Thread Tommaso Teofili
Hi Rajani, i 2011/3/8 rajini maski > > Tommaso, Please can you share any link that explains me about how to enable > and do load balancing on the machines that you did mention above..? > > > > if you're querying Solr via SolrJ [1] you could use the LBHttpSolrServer [2] otherwise, if you still

Re: Use of multiple tomcat instance and shards.

2011-03-08 Thread Erick Erickson
Have you looked at your cache usage statistics from the admin page? That should give you some sense of whether your caches are experiencing evictions, which would also lead to excessive garbage collections. That should give you some additional information to work with. Also, what version of Solr a

Re: Use of multiple tomcat instance and shards.

2011-03-08 Thread rajini maski
I have considered the RAM usage points of solr_wiki and yes,I have many facet queries fired every time and might be this is one of the reason .. I did give the Xmx-1024m and the error occurred but it was 2-3 times after many search queries fired.. But then the system slows down . So I needed any a

Re: Use of multiple tomcat instance and shards.

2011-03-08 Thread Jan Høydahl
Having 2Gb physical memory on the box I would allocate -Xmx1024m to Java as a starting point. The other thing you could do is try to trim your config to use less memory. Are you using many facets? String sorts? Wildcards? Fuzzy? Storing or returning more fields than needed? http://wiki.apache.

Re: Use of multiple tomcat instance and shards.

2011-03-08 Thread Tommaso Teofili
Hi, from my experience when you have to scale in the number of documents it's good idea to use shards (so one schema and N shards containing (1/N)*total#docs) while if the requirement is granting high query volume response you could get a significant boost from replicating the same index on 2 or mo

Use of multiple tomcat instance and shards.

2011-03-07 Thread rajini maski
In order to increase the Java heap memory, I have only 2gb ram… so my default memory configuration is --JvmMs 128 --JvmMx 512 . I have the single solr data index upto 6gb. Now if I am trying to fire a search very often on this data index, after sometime I find an error as java heap space