Graceful Restart

During running in master process mode, the uWSGI server can be gracefully restarted without closing the main sockets. This means without breaking any request in the process.

Django loads all python modules at startup, all code can be replaced (ideally using a version control system) while it keeps running. After that a SIGHUP signal needs to be send to make uWSGI reload the app on each worker as it finishes current requests. o

do-restart-computer-after-updates.jpg

Tags: reset, server, django
Update | Engage

Comment on This Data Unit