Waitress connection cleanup

18 views
Skip to first unread message

Cooper Baird

unread,
Oct 8, 2020, 4:42:57 PM10/8/20
to pylons-discuss
The documentation says "When the connection related to a channel is closed, the channel is destroyed and garbage collected.". So is that process different from the channel timeout connection cleanup process in that clients hanging up the connection get their corresponding channels cleaned up immediately (making room for new connections), whereas in a channel timeout, those connections are only cleaned up periodically on the configured "cleanup interval" and they take up a connection slot (out of the configured connection limit) until that point?

Michael Merickel

unread,
Oct 8, 2020, 4:54:50 PM10/8/20
to pylons-...@googlegroups.com
If a client hangs up then there's no problems, the issue that is being referenced is about unused, idle, connections that are taking up space that counts toward the limit (because while they are idle, a client could send data over it at any moment). The cleanup interval, etc is around how Waitress decides to kill those connections based on how long they have been idle.

On Oct 8, 2020, at 15:42, Cooper Baird <coope...@gmail.com> wrote:

The documentation says "When the connection related to a channel is closed, the channel is destroyed and garbage collected.". So is that process different from the channel timeout connection cleanup process in that clients hanging up the connection get their corresponding channels cleaned up immediately (making room for new connections), whereas in a channel timeout, those connections are only cleaned up periodically on the configured "cleanup interval" and they take up a connection slot (out of the configured connection limit) until that point?

--
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/b9fe8d57-8b92-4fb9-8073-963c2aca37e6n%40googlegroups.com.

Cooper Baird

unread,
Oct 8, 2020, 4:57:51 PM10/8/20
to pylons-...@googlegroups.com
Ok cool that makes sense. I appreciate the clarification.

You received this message because you are subscribed to a topic in the Google Groups "pylons-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pylons-discuss/Sxldy06SIKI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pylons-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/78F0FD93-BA44-4C0F-A4EB-53448C7C11DC%40gmail.com.
Reply all
Reply to author
Forward
0 new messages