croptool icon indicating copy to clipboard operation
croptool copied to clipboard

Increase memory limit and turn off display_errors

Open tstarling opened this issue 1 year ago • 2 comments

  • Increase the pod memory limit from 500MB to 2GB. The logs show OOM kills and Commons users report failure to crop large images.
  • Increase the CPU limit from 0.5 to 1. Like pressing the turbo button.
  • Turn off display_errors. Deprecation warnings are polluting JSON API responses, completely breaking the border detection feature.

tstarling avatar Jul 19 '24 01:07 tstarling

I deployed this using my root access.

tstarling avatar Jul 22 '24 00:07 tstarling

I removed the attempt to set ImageMagick resource limits, since it doesn't work.

tstarling avatar Jul 22 '24 01:07 tstarling

Thanks!

danmichaelo avatar Jul 28 '24 21:07 danmichaelo