[New-bugs-announce] [issue43696] High cpu usage using asyncio streams

Роман Коптев report at bugs.python.org
Thu Apr 1 09:04:02 EDT 2021

New submission from Роман Коптев <romikforest at gmail.com>:

Hi. I have a high cpu usage using asyncio streams/sockets with connection pool (I tried on cpython 3.8-3.9 on mac and debian). Seems some noop handler is continously called polling ports in selectors.
Here is a simple example to reproduce https://github.com/romikforest/asyncio_streams_high_cpu_usage2

Thank you a lot if you can take a look.

components: asyncio
messages: 389981
nosy: asvetlov, romikforest, yselivanov
priority: normal
severity: normal
status: open
title: High cpu usage using asyncio streams
type: performance
versions: Python 3.8, Python 3.9

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list