4 ms·
I don't trust dropbox, at all. I'd like to store encrypted backups online for the Mayan db and every document. For the OCR, my issue is that if I import severa
by coaxial 9y ago
I don't trust dropbox, at all. I'd like to store encrypted backups online for the Mayan db and every document.
For the OCR, my issue is that if I import several documents Mayan will feed them all to tesseract in parallel. Then I have two available cores, but 40 tesseract workers and the system comes down because it runs out of RAM and CPU. How did you set up your OCR?
- Mister_Snuggles 9y agoI just used the instructions here[0], with some minor changes (pathnames, db server, etc). I've never seen more than two tesseract processes running on my two-core VM, no matter how many documents I give it. Maybe something changed at some point to limit the active workers to the number of cores. [0] http://mayan.readthedocs.io/en/stable/topics/deploying.html http://mayan.readthedocs.io/en/stable/topics/deploying.html
- siloraptor 9y agoMayan EDMS issue to add rate limit support to the OCR backend. https://gitlab.com/mayan-edms/mayan-edms/issues/287 https://gitlab.com/mayan-edms/mayan-edms/issues/287
- Mister_Snuggles 9y agoI wonder if there was a change in celery that limits the number of active workers to the number of cores. This is the behavior I see on my instance.
- coaxial 9y agoThat could explain it, it would be a nice addition