Hi, i have an Elixir application but it’s behaving in a very strange way. It’s a very simple phoenix app (not of any interest, just to give you some context). It opens a ftp connection towards a public ftp server, and must download a file. Nothing more than this. The point is that very often, it gets completely stuck on the instruction:
which is executed correctly.
This causes a beam crash & dump, making it very hard to debug (absolutely no chance to have a log).
Every now and then it works. I have noticed that this morning failure were VERY unfrequent, in the noon / evening this is very worse. And, on Amazon EC2 instance, the same docker image is totally unable to establish not even ONE question. 100% failures.
I am using elixir:1.8.1-alpine to build the release and i am running it in alpine. The build is made by a multistage Dockerfile, this is the reason for the two images.
Any suggestion on what/how to debug ?