Are you using Solr 3X? The occasional long commit should no longer show up in Solr 4.
- Mark On Mon, Oct 22, 2012 at 10:44 AM, Dotan Cohen <dotanco...@gmail.com> wrote: > I've got a script writing ~50 documents to Solr at a time, then > commiting. Each of these documents is no longer than 1 KiB of text, > some much less. Usually the write-and-commit will take 1-2 seconds or > less, but sometimes it can go over 60 seconds. > > During a recent time of over-60-second write-and-commits, I saw that > the server did not look overloaded: > > $ uptime > 14:36:46 up 19:20, 1 user, load average: 1.08, 1.16, 1.16 > $ free -m > total used free shared buffers cached > Mem: 14980 2091 12889 0 233 1243 > -/+ buffers/cache: 613 14366 > Swap: 0 0 0 > > Other than Solr, nothing is running on this machine other than stock > Ubuntu Server services (no Apache, no MySQL). The machine is running > on an Extra Large Amazon EC2 instance, with a virtual 4-core 2.4 GHz > Xeon processor and ~16 GiB of RAM. The solr home is on a mounted EBS > volume. > > What might make some queries take so long, while others perform fine? > > Thanks. > > > -- > Dotan Cohen > > http://gibberish.co.il > http://what-is-what.com -- - Mark