bitwalker / distillery

Simplify deployments in Elixir with OTP releases!
MIT License
2.97k stars 398 forks source link

Note inability to remove pifile on SIGKILL #723

Closed brucepom closed 4 years ago

brucepom commented 4 years ago

I've run into issues where Systemd was unable to detect that my app had crashed because the app failed to remove its pidfile. This happened to me because the Beam was killed using a SIGKILL by Ubuntu's "Out Of Memory Killer". Under these conditions, the app is killed suddenly and wasn't able to remove it's pidfile. I am using the pid_file 0.1.0 to manage pidfiles.

bitwalker commented 4 years ago

Thanks!