django - uWSGI downtime when restart -


i have problem uwsgi everytime restart server when have code updates.

  1. when restart uwsgi using "sudo restart accounting", there's small gap between stop , start instance results downtime , stops current request.

  2. when try "sudo reload accounting", works memory goes (double). when run command "ps aux | grep accounting", shows have 10 running processes (accounting.ini) instead of 5 , freezes server when memory hits limit.

accounting.ini

enter image description here

i running django 1.9, nginx 1.4.6 , uwsgi 2.0.12


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -