open-ils.hold-targeter drones consistently use a lot of memory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
Evergreen 3.2.10
OpenSRF 3.1.1
PostgreSQL 9.6.18
We have found that the open-ils.
Furthermore, they seem to run a long time. We are using the stock configuration for number of connections, etc.:
<
<
tags: | added: performance |
Dropping <max_requests> 1000</max_ requests> in the default EG config will be a start. I run with max_requests=10 on a dedicated utility server. That may be too aggressive as a default, though.
Another thing that would help is a parameter option for the hold targeter that tells it to recycle itself once it's done processing large batches.
We can do that with OpenSRF's force drone recycle option:
https:/ /git.evergreen- ils.org/ ?p=OpenSRF. git;a=commitdif f;h=304365165e7 ba0cc08bb6c5f0b a25f0b541fd27d