SRU proposal for Xenial.

** Description changed:

- On Apache reloads the daemon tries to rotate wsgi sockets causing
- unnecessary log entries, especially in OpenStack context.
+ [Impact]
+ 
+  * Lack of option for disabling wsgi socket rotation leads to errors on 
graceful restarts, making them not as graceful.
+  * This change introduces a new config option WSGISocketRotation that allows 
to disable the rotation.
+ 
+ [Test Case]
+ 
+  * Setup apache2 with mod-wsgi.
+  * Make sure there are some wsgi sockets open.
+  * Reload apache gracefully.
+ 
+ Expected result:
+ No errors related to sockets in the logs
+ 
+ Actual result:
+ There are error messages related to sockets in the logs.
+ 
+ [Regression Potential]
+ 
+  * Since the value is set to On by default any regressions would manifest 
only after explicitly setting it to Off.
+  * After it's set to off WSGI application behavior will change on reloads - 
connections should be resumed instead of cancelled.
+ 
+ [Other Info]
+  
+  * Original bug description:
+ On Apache reloads the WSGI daemon tries to rotate wsgi sockets causing 
unnecessary log entries, especially in OpenStack context.
  
  This has been addressed in mod-wsgi upstream (4.6.0) and could be
  backported to Ubuntu.

** Patch added: "xenial_mod-wsgi_4.3.0-1.1ubuntu1.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/mod-wsgi/+bug/1863232/+attachment/5328184/+files/xenial_mod-wsgi_4.3.0-1.1ubuntu1.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1863232

Title:
  daemon rotates socket on restart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-wsgi/+bug/1863232/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to