BentoML

Circus socket file descriptor sharing enables zero-downtime reload

info
availabilityUpdated Mar 7, 2026(via Exa)
Technologies:
How to detect:

BentoML workers receive file descriptors from Circus via CircusSocket, enabling socket sharing across workers. This mechanism supports zero-downtime reloads by allowing new workers to accept connections on the same socket before old workers terminate.

Recommended action:

When performing rolling updates, monitor worker process transitions. Verify new workers successfully bind to the CircusSocket before terminating old workers. Check Circus logs for socket handoff failures.