My index is 4GB on disk. My servers has 8 GB of RAM each (the OS is 32 bits). It is optimized twice a day, it takes around 15 minutes to optimize. The index is updated (commits) every two minutes. There are between 10 and 100 inserts/updates every 2 minutes. The cache configuration is: filterCache autowarmCount=256 lookups : 24241 hits : 21575 hitratio : 0.89 inserts : 3708 evictions : 3155 size : 512 cumulative_lookups : 2662056 cumulative_hits : 2355474 cumulative_hitratio : 0.88 cumulative_inserts : 382039 cumulative_evictions : 365038 queryResultCache autowarmCount=256 lookups : 2303 hits : 271 hitratio : 0.11 inserts : 2308 evictions : 1774 size : 512 cumulative_lookups : 237586 cumulative_hits : 39555 cumulative_hitratio : 0.16 cumulative_inserts : 201009 cumulative_evictions : 180025 documentCache lookups : 58032 hits : 33759 hitratio : 0.58 inserts : 24273 evictions : 23761 size : 512 cumulative_lookups : 6694035 cumulative_hits : 3906883 cumulative_hitratio : 0.58 cumulative_inserts : 2787152 cumulative_evictions : 2752219
The CPU usage is usually 50%. I give the JVM "java -server -Xmx2048m" when I start Solr. Thanks! Jonathan On Mon, Apr 14, 2008 at 8:24 PM, Otis Gospodnetic < [EMAIL PROTECTED]> wrote: > It's hard to tell from the info given, though something doesn't sound > ideal. Even if Solr's caching doesn't help, with only 4M documents, your > Solr search slaves should be able to keep the whole index in RAM, assuming > your index is not huge. > > How large is the index? (GB on disk) > Is it optimized? > How often is it changed on the master - i.e. how often does your Searcher > need to be reopened? > What are cache hits and evictions like (Solr admin page)? > What are cache sizes like and how is the warm-up configured? > Is there any IO on the slaves? (run vmstat or iostat or some such) > How is the CPU usage looking? > > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > ----- Original Message ---- > From: Jonathan Ariel <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Monday, April 14, 2008 5:50:08 PM > Subject: too many queries? > > Hi, > I have some questions about performance for you guys. > So basically I have 2 slave solr servers and 1 master solr server load > balanced and around 100 request/second, aprox. 50 request per second per > solr server. > My index is about 4 million documents and the average query response time > is > 0.6 seconds, retrieving just 4 documents per query. > What happens is that there are too many request to Solr and every second > is > getting bigger, so eventually my site stops working. > > I don't know if this stats are enough to tell if the servers are supposed > to > handle this amount of request. Maybe it's a configuration problem. I don't > think that caching in solr would help in this case because all the queries > are different (I'm not sure how caching works but if it's per query it > won't > help much in this case). > > Any thoughts about this? > > Thanks! > > Jonathan > > > >