mariusae / trickle

Trickle is a userland bandwidth shaper for Unix-like systems.
https://www.usenix.org/legacy/event/usenix05/tech/freenix/full_papers/eriksen/eriksen.pdf
Other
562 stars 61 forks source link

"Read from socket failed: Resource temporarily unavailable" on ssh connection #8

Open Hubbitus opened 10 years ago

Hubbitus commented 10 years ago

Please look at https://bugzilla.redhat.com/show_bug.cgi?id=1023559 for details.

lepennec commented 10 years ago

adding both a download limit with -d and an upload limit with -u seems to solve the issue.

Hubbitus commented 10 years ago

Thanks for the workaround. I'm doubt meantime it is normal behaviour.

bjodah commented 5 years ago

I just ran into this using trickle on FreeBSD 12, what didn't work:

$ trickle -s -u 5000 ssh myremoteserver
Fssh_ssh_dispatch_run_fatal: Connection to 256.256.256.256 port 2222: Resource temporarily unavailable

what did work:

$ trickle -s -u 5000 -d 5000 ssh myremoteserver

Thank you @lepennec !

summetj commented 2 years ago

I can confirm the same issue on Ubuntu 22.04.

Using -d 1500 only gives the Resource temporarily unavailable error, but adding in a -u 1500 as well makes things work correctly. [This is a workaround.....previously, I only needed to specify the download speed limit....]