Connection Stalled while putting multiple file say more than 4 files at a time to an S3 bucket but the same is working fine with EC2.

0

Hi ,

we have a mirroring setup ( get and put the file between two server by comparing on the either side wherever missing) by using the perl module .

With Traditional Unix/linux server it is working good but when we try to use S3 for same file transfers it didn't worked at all. After multiple search got to know the below Change we have to do to make it work .

my $sftp = Net::SFTP::Foreign->new('user@s-12345.server.transfer.us-east-2.amazonaws.com', queue_size => 1);

we have added the above queue_size parameter in our code but it is working for very few files not more than 4 . If we try to put more files the connection starts stalling, the exact error is "Connection to remote server stalled" .

when we are using the EC2 username and URl for file transfer it is working fine with any number of files like as we are doing with Linux/unix Datacenter based server.

I want to know why S3 is not working properly . what is the difference between S3 and AWS .

we have Network Packet capture done but no issue found as no packet loss was there .

please help.

ikram
已提问 2 年前214 查看次数
1 回答
0

Testing with FileZilla as SFTP client connecting to AWS Transfer Family SFTP server I was able to transfer 10 files simultaneously, each file was 100mb in size. Can you please try testing with a different client and check if you observe the same behavior ?

AWS
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则