title: AJAX requests not working properly with gunicorn when logged out from server
body: <p>I've made my first django application deploy on server this weekend. It was clear VPS server so I have to install PostgreSQL, PostGIS, set virtualenv and so on. It takes some time to make application works.</p>
  
  <p>On django development server everything works fine, but when I deployed my app with gunicorn (cooperates with Nginx) on VPS server AJAX requests not working properly. I have three AJAX request sending right after the other. And only one or two requests have returned value. So I found gevent and this thread (<a href="https://stackoverflow.com/questions/41435485/django-ajax-requests-during-regular-request-not-going-through/41449049#41449049">Django AJAX requests during regular request not going through</a>) and run gunicorn with this command:</p>
  
  <pre><code>gunicorn myapp:wsgi:application --bind 0.0.0.0:9000 -k gevent --worker-connections 1001 --workers=3 
  </code></pre>
  
  <p>and it works. All requests return values and everything looks ok. So I put process to background with and logged out from server.</p>
  
  <p>But everytime when I log out from server the requests stop work. The behavior is the same as firstime without gevent. Could be the problem of activating virtual environment, setting or this is standard behaviour of Ubuntu as server?</p>
  
  <p>I don't even know where should I find solution so I will be glad for any help.  </p>