Re: CPU and memory circuit breaker documentation issues

2020-12-19 Thread Dmitri Maziuk
On 12/18/2020 11:26 AM, Walter Underwood wrote: ... I’ll file a bug and submit a patch to use for larger batch of entries with data in the same format, . How do I fix the documentation? CPU load may be good if your process is CPU-bound. If you're stuck on iowait in your $data filesystem and n

Re: CPU and memory circuit breaker documentation issues

2020-12-18 Thread Walter Underwood
Thanks. I’m already familiar with adoc. https://issues.apache.org/jira/browse/SOLR-15056 Now I need to brush up on How To Contribute. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Dec 18, 2020, a

Re: CPU and memory circuit breaker documentation issues

2020-12-18 Thread Anshum Gupta
Hi Walter, Thanks for taking this up. You can file a PR for the documentation change too as our docs are now a part of the repo. Here's where you can find the docs: https://github.com/apache/lucene-solr/tree/master/solr/solr-ref-guide On Fri, Dec 18, 2020 at 9:26 AM Walter Underwood wrote: >

Re: CPU and memory circuit breaker documentation issues

2020-12-18 Thread Walter Underwood
Looking at the code, the CPU circuit breaker is unusable. This actually does use Unix load average (operatingSystemMXBean.getSystemLoadAverage()). That is a terrible idea. Interpreting the load average requires knowing the number of CPUs on a system. If I have 16 CPUs, I would probably set the

CPU and memory circuit breaker documentation issues

2020-12-16 Thread Walter Underwood
In https://lucene.apache.org/solr/guide/8_7/circuit-breakers.html URL to Wikipedia is broken, but that doesn’t matter, because that article is about a different metric. The Unix “load average” is the length of the run queue, the n