-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CopyFilesOverSSHV0 unbearably slow #13156
Comments
Reopen this, since the fix is waiting to be deployed. We will let you know once the fix will be published. |
Any update on this guys? |
@ahsan-cc we rolled out dependencies update for CopyFilesOverSSH task - so as we see now performance increased for this task. Do you still face with performance issues? |
Ah yes. It took me almost 30 mins to copy around 50mb of data to DO server. |
@ahsan-cc do you use on-prem version of Azure DevOps? Could you please share what task version do you use? |
Sorry for the late response. Yes I am using the available task on Azure DevOps. Task version and name is as followed. CopyFilesOverSSH@0 |
@ahsan-cc could you please share your exact task version? You can find it in logs like below (here's example for Bash task - v3.182.0): |
Here it is.
|
Hey, I just wanted to check if we have any update on this? |
Hi @ahsan-cc I reopen it at the moment to investigate it currently. |
Is there an update on this issue? We are also experiencing this but its intermittent. Run it once and it finishes in seconds. The next run takes 15 mins. When this happens i do notice this process maybe having something to do with it?? In the log i always see this message during the long runs. See the gap in timestamps as well. [2021-04-11 11:04:32Z INFO JobServerQueue] Stop aggressive process web console line queue. Any ideas? |
@cbrennan45 does it happen for the same file size? Intermittent nature of issue could point to some network issues between agent and target machine. |
@anatolybolshakov we copy mostly war files avg 40MB-60MB and it seems to not matter as far as size. I run top and do not see any thing suspect except the node process which seems to be running at the time of the copyoverssh task. Other than that I was thinking something over the network because it our IVT environment it is not happening. One other suspect thing is this msg when it happens. Between that last msg there could be a 15-20 min delay until the next update in the log and then it finally finishes. [2021-04-11 11:04:32Z INFO JobServerQueue] Stop aggressive process web console line queue. Thanks! I wanted to update on the issue. the manual scp command has the same behavior so we ruled out the module in azure as the problem. |
@anatolybolshakov just FYI our issue was a firewall/load balancer issue causing the slowness! |
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days |
Type: Bug
Enter Task Name: CopyFilesOverSSHV0
Environment
Server - Azure Pipelines
Agent - Hosted or Private:
Issue Description
My release pipeline copies build artifacts to a remote server on DigitalOcean using the CopyFilesOverSSHV0 task. The files are around 500MB total in size. However the process of copying these files to the remote server consistently takes around 43 minutes, which is obviously ridiculously slow.
Running some benchmarks on the remote server the files are being sent to, I can see the problem is not on DigitalOcean server:
I/O Benchmarks:
Download speed benchmark:
Task logs
ReleaseLogs_5.zip
The text was updated successfully, but these errors were encountered: