Skip to content

Massive consequential output hangs the server #112

@ivitlin

Description

@ivitlin

Hello!

Really appreciate your work, great tool!
The only problem I've encountered is that consequential output (like wget download progress bar or pip installation bar and similar) isn't supported to be displayed on single line as it's intended and supported by terminal apps like Putty.
For example:
In Putty, the bar is filled on the same line:
Downloading ***.BIN.ZIP ...
|========================>| Got 130480561 bytes of 130480561 (100.00%)

And in terminal of script-server it looks like this:
Downloading ***.BIN.ZIP ...
|> | Got 864 bytes of 130480561 (0.00%)
|> | Got 4960 bytes of 130480561 (0.00%)
|> | Got 5208 bytes of 130480561 (0.00%)
|> | Got 8104 bytes of 130480561 (0.01%)
|> | Got 9552 bytes of 130480561 (0.01%)
|> | Got 11000 bytes of 130480561 (0.01%)
|> | Got 12448 bytes of 130480561 (0.01%)
|> | Got 13896 bytes of 130480561 (0.01%)
|> | Got 16792 bytes of 130480561 (0.01%)
|> | Got 18240 bytes of 130480561 (0.01%)
|> | Got 19688 bytes of 130480561 (0.02%)
|> | Got 21136 bytes of 130480561 (0.02%)
|> | Got 22584 bytes of 130480561 (0.02%)
|> | Got 24032 bytes of 130480561 (0.02%)
|> | Got 25480 bytes of 130480561 (0.02%)
..............................
This behavior seems to overflow the server, CPU reaches 100% and the server becomes unresponsive and needs to be restarted.
Can this behavior be fixed?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions