If you are using python’s subprocess.Popen with any of stdout/stderr as pipes, you need to regularly clear the output of those pipes else, python the command will be blocked silently. The default limit on this buffer is from system which you can read using io.DEFAULT_BUFFER_SIZE. You can increase this by setting your own value through bufsize param.

References