lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hamid Vahedi <>
Subject Re: Solr & JVM performance issue after 2 days
Date Tue, 07 Dec 2010 12:01:26 GMT
Hi Peter

Thanks a lot for reply. Actually I need real time indexing and query at the same 

Here  told: 
"You  can run multiple Solr instances in separate JVMs, with both having  their 
solr.xml configured to use the same index folder."

Q1: I'm using Tomcat now, Could you please tell me how to have separate JVMs 
with Tomcat? 

Q2:What should  I set for LockType?

Thanks in advanced 

From: Peter Karich <>
Sent: Tue, December 7, 2010 2:06:49 PM
Subject: Re: Solr & JVM performance issue after 2 days

  Hi Hamid,

try to avoid autowarming when indexing (see solrconfig.xml: 
caches->autowarm + newSearcher + maxSearcher).
If you need to query and indexing at the same time,
then probably you'll need one read-only core and one for writing with no 
autowarming configured.

Or replicate from the indexing-core to a different core with different 


> Hi,
> I am using multi-core tomcat on 2 servers. 3 language per server.
> I am adding documents to solr up to 200 doc/sec. when updating process is
> started, every thing is fine (update performance is max 200 ms/doc. with about
> 800 MB memory used with minimal cpu usage).
> After 15-17 hours it's became so slow  (more that 900 sec for update), used 
> memory is about 15GB, GC time is became more than one hour.
> I don't know what's wrong with it? Can anyone describe me what's the problem?
> Is that came from Solr or JVM?
> Note: when i stop updating, CPU busy within 15-20 min. and when start updating
> again i have same issue. but when stop tomcat service and start it again, all
> thing is OK.
> I am using tomcat 6 with 18 GB memory on windows 2008 server x64. Solr 1.4.1
> thanks in advanced
> Hamid

-- twitter search prototype

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message