We are getting "timeouts" when attempting to upload large files in Amazon EC2 environment using ELB. Is using HAProxy the only solution?
-
We discontinued use of the ELB and replaced using HAProxy; however, the 2 HAProxy servers have problems as well and this is causing us downtime. Does the Zeus product have the same file upload limitations as ELB? Any other suggested solutions?
-
Answer:
You may be running into the 60-second timeout issue with ELB (https://forums.aws.amazon.com/thread.jspa?threadID=33427). If so, the only solution using ELB (until Amazon provides a fix) is to break your upload into smaller chunks that take much less than 60 seconds to complete.
Anon User at Quora Visit the source
Other answers
The timeout isn't supposed to affect uploads "I can confirm that large file uploads work fine. The HTTP connections only timeout after 60 seconds if they're idle connections." If your upload does file processing after the fact, that may cause a large idle. One suggestion is to route uploads to a different subdomain that isn't behind ELB. http://uploads.example.com. authentication would require a wildcard cert and cookie, but it would work.
Jonathan Hendler
ELBs can have problems keeping an HTTP connection open for a long time with their default settings. If you're having problems with prematurely broken connections, one option is to make a support request to AWS to increase your timeout period for a specific ELB - I believe they can extend it up to approximately 18 minutes. Keep in mind that this may have a negative impact on the ELBs ability to scale.
Steve Stanko
Related Q & A:
- How to sequence events while uploading large files to Amazon S3?Best solution by Stack Overflow
- How do I upload multiple files into a folder?Best solution by Yahoo! Answers
- How do I send large files?Best solution by Yahoo! Answers
- How do I share large files?Best solution by Yahoo! Answers
- How to send large files and photos?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.