Closed sc-yan closed 3 months ago
Exit code 137 sounds like out of memory or disk space.
Check this SO question for other possible causes (process timeout) if using Docker: https://stackoverflow.com/questions/59296801/docker-compose-exit-code-is-137-when-there-is-no-oom-exception
our elixir application is deployed in k8s and I increased the resources for the pod in staging env. it works!! this image takes particular longer time than other images when we call this API. it should ring a bell lol. again, thank you so much!!
I know this is a very weird case, but I really appreciate if you could take a look.
so we found 1 specific image file always failed to be uploaded in our staging env. however, it succeeded in local and our production env, which is very weird. we run the same code in stg and prod, and I checked the library version, they are surprisingly same in local/stg/prod.
the error stacktrack we got is this:
this is the code we are running.
I suspect it's caused by magick lib, so I run the command against the picture. however, it also succeeded..
magick mogrify -resize 256x256 -format png -auto-orient dfvcx.jpg
this is the image file.
I have no clue now. could you take a look please? or shall I ask this in magick lib repo? really appreciate your help! thank you.