From: Galen Charlton Date: Thu, 9 Apr 2015 20:50:24 +0000 (+0000) Subject: LP#1435494: add release notes entry X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=eec557818be1063578250271b8637879dc2f9ebf;p=working%2FEvergreen.git LP#1435494: add release notes entry Signed-off-by: Galen Charlton --- diff --git a/docs/RELEASE_NOTES_NEXT/Administration/set_resource_limits_for_reporter.txt b/docs/RELEASE_NOTES_NEXT/Administration/set_resource_limits_for_reporter.txt new file mode 100644 index 0000000000..9c04c954d3 --- /dev/null +++ b/docs/RELEASE_NOTES_NEXT/Administration/set_resource_limits_for_reporter.txt @@ -0,0 +1,32 @@ +Set resource limits for Clark Kent +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Several parameters are now available for the reporter daemon process +(`clark-kent.pl`) to control resource usage. These can be used to +reduce the chances that a malformed report can cause indigestion +on a database or reports server. The new parameters, which can be +set in `opensrf.xml` or as command-line switches for `clark-kent.pl` are + +* `//reporter/setup/statement_timeout` / `--statement-timeout` + +Number of minutes to allow a report's underlying SQL query +to run before it gets cancelled. Default value is +60 minutes. If a report's query gets cancelled, the +error_text value will be set to a valid that indicates that +the allowed time was exceeded. + +* `//reporter/setup/max_rows_for_charts` / `--max-rows-for-charts` + +Number of rows permitted in the query's output before +Clark Kent refuses to attempt to draw a graph. Default +value is 1,000 rows. + +* `//reporter/setup/resultset_limit` / `--resultset-limit` + +If set, truncates the report's output to the specified +number of hits. Note that it will not be apparent +to a staff user if the report's output has been +truncated. Default value is unlimited. + +The report concurrency (i.e., the number of reports that Clark +Kent will run in parallel) can now also be controlled via +the `opensrf.xml` setting `//reporter/setup/parallel`.