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.

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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠