much slower holds processing in 2.4+
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
High
|
Unassigned | ||
2.4 |
Fix Released
|
Undecided
|
Unassigned | ||
2.5 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This is a new bug with the goal of generalizing the report of problems in bug 1185865 (about the holds targeter script taking a long time to run) to include all hold targeting in 2.4+. In our newly-upgraded 2.5.1 instance, we are seeing greatly increased hold targeting times, both in the hold targeting process (which has yet to finish within 24 hours with 5 concurrent processes enabled since the upgrade) and when doing real-time holds placement. The delays in real-time hold placement have had a significant service impact within our libraries and for our OPAC patrons. From our office network connection, which is not under the normal duress that our public libraries experience, hold placement on certain titles takes 40+ seconds to complete. When you factor in network and workstation problems at local libraries, we're talking about real delays here.
I've asked our libraries for example records that may illustrate the issue. We're not sure at this point whether the number of hold requests per bib record or the number of copies/volumes attached to each bib record are a factor. We suspect one or the other or both.
I'll mention that we do not have any hold proximity adjustments in place. That was a feature we were intending to test post-upgrade, though if it comes at this cost, we will probably avoid that feature altogether until these delay issues are resolved.
Evergreen 2.5.1
OpenSRF 2.2.1
PostgreSQL 9.1.11
Ubuntu 12.04 LTS
Changed in evergreen: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Referencing IRC discussion here http:// irc.evergreen- ils.org/ evergreen/ 2014-01- 24#i_62613, we now see that the delay appears to be caused by a large number of actor.org_ unit_setting calls to see the unit's target_weight and whether to target when the unit is closed. On bib records with many copies attached, this becomes a very long process.
Lebbeous Fogle-Weekley (senator) provided a patch to test at working/ collab/ senator/ slow-targeter- try-faster- settings- lookup, and I can see a modest improvement, but the frontend still times out after applying those patches.