On Dec 19, 2007 9:48 AM, Brian Whitman <[EMAIL PROTECTED]> wrote:
>
> On Dec 19, 2007, at 9:34 AM, Yonik Seeley wrote:
>
> > On Dec 19, 2007 9:23 AM, Brian Whitman <[EMAIL PROTECTED]>
> > wrote:
> >> It's pretty easy to parse access logs or solr query logs and find the
> > offenders (I don't have any parsing code at my fingertips though...)
> >
> > Do these periods of slowness tend to happen right after a commit?
> > Do the slow queries have anything in common?
>
> All queries become slow, so looking at the access logs don't help us
> much.

You could try thread dumps (kill -3, or use the solr admin page)
The latest devel versions of solr also break out time by component if
you give debugQuery=true

> After some amount of time (variable, but measured in days) Solr
> just becomes slow for us, every query takes 20-30s.

This is strange (if a reboot fixes it).
Anything odd in the logs?  overlapping searchers?  search for
"WARNING" in the logs.
Also check to make sure it's not a GC... that could cause everything
to start slowing down when you start running out of memory.

-Yonik

Reply via email to