Feature #20475
closeddump request queue every 5 minutes when at 90% busy
Description
When the request queue of a Go service is over 90% busy, it should dump a list of outstanding requests to a file named something like:
<service>-request-queue.json
It should do this once per minute as long as the queue is over 90% busy.
This is enabled by a new configuration option that tells the services where to put their request queue files. The directory must be writable. If no value is set, don't do anything. If the directory does not exist or is not writable, log an (warning|error).
Updated by Peter Amstutz over 1 year ago
- Assigned To set to Tom Clegg
- Description updated (diff)
- Subject changed from Script to check concurrent request metrics and fetch the list of queued requests when busy to dump request queue every 5 minutes when at 90% busy
- Tracker changed from Bug to Feature
Updated by Tom Clegg over 1 year ago
20475-dump-busy-queue @ e3f543331190073de81c52be3e0ba0a427e3c4dc -- developer-run-tests: #3633
Updated by Peter Amstutz over 1 year ago
Tom Clegg wrote in #note-3:
20475-dump-busy-queue @ e3f543331190073de81c52be3e0ba0a427e3c4dc -- developer-run-tests: #3633
LGTM
Updated by Tom Clegg over 1 year ago
- Status changed from In Progress to Resolved
Applied in changeset arvados|32c63d03d45d231768eb1497dfc5e9f4a0d23c16.