title: Azure Docker web application. Stoping site <site name> because it exceeded swap usage limits
body: <p>I have deployed my multi-container web application to Azure using the Docker Compose. One container for web app itself and one for the database. The app runs a job every 5 minutes. From the logs I can see that the app was working till 2AM tonight and then it was stopped with the following message:</p>
  
  <pre><code>Stoping site &lt;site&gt; because it exceeded swap usage limits
  </code></pre>
  
  <p>I don't really understand what are the swap usage limits and why the application was stopped. When I connected to the application again, I found out that the containers were recreated from scratch: database was empty.
  How can I find out what the problem is?</p>