PowerShell Remoting零星脚本退出

时间:2015-08-17 04:25:57

标签: powershell amazon-s3 powershell-remoting

我有一个执行aws s3 sync的脚本,它应该同步大约255GB。但是,脚本似乎在随机点窒息并退出:

[13:49:24][Step 1/1] Processing data for a remote command failed with the following error message: 
[13:49:24][Step 1/1] Access is denied. For more information, see the about_Remote_Troubleshooting 
[13:49:24][Step 1/1] Help topic.
[13:49:24][Step 1/1]     + CategoryInfo          : OperationStopped: (fileserver:String) [], PSRemotingTransportException
[13:49:24][Step 1/1]     + FullyQualifiedErrorId : JobFailure
[13:49:24][Step 1/1]     + PSComputerName        : fileserver
[13:49:24][Step 1/1]  

此错误发生在不同的时间量和从S3下拉的不同数据量之后。它的死亡似乎并不是一个共同点。另一个重要的事实是该脚本由TeamCity执行,因此它作为远程服务器上的管理员从TC登录。

有关为何发生这种情况的任何想法?

0 个答案:

没有答案