That happened to me exactly once in my 20-year career. It was on a web server (maybe even NGINX) that had too many cached files.
Even though it only happened once, I still set up monitoring for inode exhaustion.