croptool
croptool copied to clipboard
Increase memory limit and turn off display_errors
- 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.
I deployed this using my root access.
I removed the attempt to set ImageMagick resource limits, since it doesn't work.
Thanks!