The restart_limit
setting only applies to V1 (Nomad) apps. The log refers to a “machine”, so your app is V2.
What you’re seeing is the result of the default Machine restart policy. The default is to keep attempting a restart up to 10 times after a failure. Here’s some info about Machine restart policies: Issues with machines restart policy - #25 by catflydotio