Apache + mod_wsgi + flask app: doing graceful restart due to receiving SIGUSR1 signal Apache + mod_wsgi + flask app: doing graceful restart due to receiving SIGUSR1 signal flask flask

Apache + mod_wsgi + flask app: doing graceful restart due to receiving SIGUSR1 signal


This is because your system has logrotate setup to handle log rotation for Apache. It will send a graceful restart signal to Apache to have it reload while it swaps out the log files.

If this isn't desirable, don't have logrotate do that and use Apache's own mechanism for log file rotation.