Dear Jeffrey, I definitely need a keyboard shortkey/hotkey sequence to "address", to "trigger" a scanning. I bought a Footswitch FS2020U1IR wich works perfectly under Linux Mint, the three switches programmed with this open source software for Linux: https://github.com/rgerganov/footswitch So I need "simply" a key sequence to trigger the "scan" button in the scan dialog window, which is currently apparently missing.
Keycodes needed for i) start scanning ii) abort (close) error window
Could be avoided by changing the /ect/ImageMagick-6/policy.xml ! https://stackoverflow.com/questions/31407010/cache-resources-exhausted-imagemagick
This appears to be an Imagemagick /Convert problem.
When trying to scan 1200 dpi, gscan2pdf shows cache error message
Jeffrey, sorry, I meant, that eventually gscan2pdf is not properly shutting down a scan job it started, just an idea.
Further remark: I noticed: After having finished scanning of about 140 pages, properly saving as pdf and properly closing gscan2pdf - without crashes - I noticed in /tmp many files "/tmp/brscan_jpeg_PAGEnn_hash" which were apparently stemming from the scan process via SANE and the brother driver. I scanned with 600dpi/True Gray, the files are about 8-10 MB big. I am telling you this, because perhaps gscan2pdf does not properly close/delete the the scan job/s - just as an idea what can be wrong. So...
Question: do you have an idea, why the(my) expressed setting of ulimit (to a value of 20000), why this did not fix the "too many open file issue"?