On 10/26/2012 7:16 AM, Dotan Cohen wrote:
I spoke too soon! Wereas three days ago when the index was new 500
records could be written to it in <3 seconds, now that operation is
taking a minute and a half, sometimes longer. I ran optimize() but
that did not help the writes. What can I do to improve the write
performance?

Even opening the Logging tab of the Solr instance is taking quite a
long time. In fact, I just left it for 20 minutes and it still hasn't
come back with anything. I do have an SSH window open on the server
hosting Solr and it doesn't look overloaded at all:

$ date && du -sh data/ && uptime && free -m
Fri Oct 26 13:15:59 UTC 2012
578M    data/
  13:15:59 up 4 days, 17:59,  1 user,  load average: 0.06, 0.12, 0.22
              total       used       free     shared    buffers     cached
Mem:         14980       3237      11743          0        284       2222
-/+ buffers/cache:        729      14250
Swap:            0          0          0

Taking all the information I've seen so far, my bet is on either cache warming or heap/GC trouble as the source of your problem. It's now specific information gathering time. Can you gather all the following information and put it into a web paste page, such as pastie.org, and reply with the link? I have gathered the same information from my test server and created a pastie example. http://pastie.org/5118979

On the dashboard of the GUI, it lists all the jvm arguments. Include those.

Click Java Properties and gather the "java.runtime.version" and "java.specification.vendor" information.

After one of the long update times, pause/stop your indexing application. Click on your core in the GUI, open Plugins/Stats, and paste the following bits with a header to indicate what each section is:
CACHE->filterCache
CACHE->queryResultCache
CORE->searcher

Thanks,
Shawn

Reply via email to