UB-Mannheim / kitodo-presentation-docker

Docker configuration for Kitodo.Presentation
GNU General Public License v3.0
4 stars 3 forks source link

[presentation] Reduce load on image and OCR server with whole book OCR #22

Closed csidirop closed 1 year ago

csidirop commented 1 year ago

Processing a whole book downloads all pages and runs the OCR in parallel processes. This is like a Denial-of-Service attack for the image server and creates also a huge load on the OCR server with potential out-of-memory errors.

Parallel processing is fine, but should work with a predefined number of worker processes.

csidirop commented 1 year ago

Fixed with https://github.com/csidirop/kitodo-presentation/commit/2b495220d09529a0cab0572d2e9cbf6329286270