Comment 2 for bug 702024

Revision history for this message
Andrew Bennetts (spiv) wrote :

The linked branch adds support for graceful shutdowns for running behind HAProxy. I have a few thoughts about how it could be better...

Among other things it delays process exit until all the existing connections have closed. It occurs to me that because these are SSH connections maybe we want something slightly smarter, because it's possible that users will be holding SSH connections open with no active channels by using the connection sharing/reuse features of clients like OpenSSH. Eventually those users would trip the inactivity timeouts I suppose.

Also, perhaps when waiting for connections to end so we can exit we should shorten the inactivity timeout?