0

I see internally connections (<aiohttp.client_proto.ResponseHandler objects) are stored in: _conns and _acquired What is the difference between those?

context: I try to investigate why connections hang on.. when limit for TCPConnector is set, lets say to 10, with lsof I see like 70 of them (ESTABLISHED)
The number drops after sth like 20min..

ps: I use: session.get(url, ssl=False)

  • ps.: [Gracefull shutdown trick](https://docs.aiohttp.org/en/stable/client_advanced.html#graceful-shutdown) seems not related here, as my the ClientSession does not close for 24h -- waits for urls through queue – Jurgis Pralgauskis Jun 22 '20 at 15:06
  • >... the ClientSession does not close for 24h .. seems, I was wrong, async loop runs for 24h, but session usually crawls 50k urls, and closes in ~1h... – Jurgis Pralgauskis Jun 24 '20 at 10:41

0 Answers0