Open jsjiang opened 1 year ago
Note: Advanced search with "object_type=PhysicalObject" and "id_type=doi" triggered timeout error (504) on both prd (found from application log) and stage (tested).
log entries: EZID: 023-08-01 10:11:30,859 INFO log.begin:133: 756c6528308e11ee9ce00a0c7ad0442b BEGIN search/count - anonymous anonymous anonymous anonymous publicSearchVisible True identifierType doi resourceType PhysicalObject
Apache: 172.31.57.208 - - [01/Aug/2023:10:11:30 -0700] "GET /search?filtered=t&keywords=&identifier=&title=&creator=&publisher=&pubyear_from=&pubyear_to=&object_type=PhysicalObject&id_type=doi HTTP/1.1" 504 247 "https://ezid-stg.cdlib.org/search" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"
Related issue #472 (repeated large searches caused low memory on RDS and resulted with RDS server reboot)
Modify EZID's search function to limit: