Page MenuHomePhabricator

ORES Python client drowning in TIME_WAIT sockets
Closed, ResolvedPublic

Description

A researcher using the ORES Python client with a parallelism of 20 is swamped by TCP sockets in the TIME_WAIT state, and very few "ESTABLISHED" connections. It's possible that we're not closing the socket properly.

I'll make sure we're using context managers to guarantee that resources are released regardless of exception or success.

Event Timeline

There were some cleanups to make on our side, and a synchronization issue with the research client. I've replaced the ORES consumer part of their pipeline with our standard score_revisions utility and will wait for feedback.