Serials Issuances Creator filter causes memory exhaustion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Evergreen Versions: 2.10.7 && 2.12.4
OpenSRF Versions: 2.4.2 and 2.5.0
PostgreSQL Version: 9.5
If you attempt to use the Creator filter in the Serials interface for working with Issuances, an open-ils.pcrud request to retrieve all users in the actor.usr table is made. This very likely will lead to memory starvation on the drone server that serves the request.
We had a production drone server become unresponsive as a pcrud drone used 5.2 GB out of 8 GB of RAM, and all of the swap was consumed. OOM Killer started killing processes, but it was no help as the drone kept trying to get more RAM. This was on 2.10.7 with OSRF 2.4.2.
I have verified similar behavior on a vm running Evergreen 2.12.4 and OpenSRF 2.5.0. I can attach log messages, if required.
Presumably, this is still a problem in 2.11.7 and in master.
There is no longer a Creator filter in the serials interface, or at least I couldn't find it?