I observe a weird behaviour when I copy files to a remote machine using scp. Take for example this scp command with no special options:
scp my.phar remote:apps/
Copying works flawlessly, however my co-workers on the same local network experience stalls in their SIP voice conversation. They can hear the voice from the other side, but their voice doesn't get to the other side.
Apart from SIP issue (being the most prominent one), stalls can also be observed with other network connections, like browsing and trying to connect to mysql servers. As soon as scp finishes, everything works correctly again.
This leads me to conclusion that scp somehow congests my network. I tried option -l
to limit upload rate:
scp -l 4000 my.phar remote:apps/
Unfortunately, issues persist and I'm out of luck now. What can I do to investigate this issue? (and resolve it hopefully). Do you need more information, for example topology?