Skip to content

Conversation

@leplatrem
Copy link
Contributor

Screenshot 2025-11-18 at 13 05 19

Note: locally, when loading all prod checks, I don't have bottleneck. Biggest time is IO with cold cache
Screenshot 2025-11-18 at 13 02 19

That line again means your app is mostly idle in the event loop, not burning CPU.

<method 'control' of 'select.kqueue' objects> is macOS’s I/O selector (what asyncio and aiohttp use under the hood). It spends most of the time waiting for network sockets to be ready.

Seeing it dominate is normal for servers that are mostly waiting on I/O. It tells you:

Python threads are mostly sleeping, waiting for sockets to be readable/writable.

The CPU is not your bottleneck — requests are waiting on network, database, or external services.

@leplatrem leplatrem requested a review from a team as a code owner November 18, 2025 12:05
@leplatrem leplatrem added the enhancement New feature or request label Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants