Are sessions properly terminated?
Wonshtrum opened this issue · comments
Eloi Démolis commented
During tests, I observed that the zombie checker finds every session I created and terminates them without issue.
Two things to investigate:
- is this normal or should they have been closed earlier? In my tests, I rarely connect a working backend so I end up with 5xx responses, but I assumed those sessions would be properly terminated right away
- is this a generalized problem? In case of successful 2xx responses, are the sessions properly cleared when an endpoint is gracefully/abruptly disconnected
If sessions are not properly reclaimed as soon as they are closed Sozu will quickly run out of sessions to open.
Emmanuel Bosquet commented
solved by #854