/plushcap/analysis/ably/ably-debugging-tales-1

Ably Debugging Tales - A Mystery in Elixir

What's this blog post about?

In this story, a misbehaving Elixir application was causing an internal server error instead of a 404 not found error in production. The issue was traced back to the logger crashing due to an undefined inspect function when called with an empty list. After further investigation and help from the Elixir community, it was discovered that the problem stemmed from a maintenance script cleaning up files in /tmp, which marked certain BEAM files as deleted if they had not yet been loaded by the Erlang VM at the time of cleanup. The fix involved moving the OverlayFS upper directories out of /tmp to prevent this issue.

Company
Ably

Date published
July 30, 2019

Author(s)
Simon Woolf

Word count
1422

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.