title: pm2 crash with too many unstable restarts (16). Stopped. "errored" in python
body: <p>I have created a script that can run the python django application. I run this script using <code>pm2</code>.
  I do <code>pm2 start scripts.sh</code>, it works properly but after some time my application doesn't work and displays an error like this</p>
  <blockquote>
  <p>the runtime process for the instance running on port 37001 has unexpectedly quit**</p>
  </blockquote>
  <p>I show the log using <code>pm2 logs</code>, it displays an error like this</p>
  <blockquote>
  <p>script.sh had too many unstable restarts (16). Stopped. &quot;errored&quot;</p>
  </blockquote>
  <p>How to resolved it? Can anyone help me?</p>