Automattic / knox

S3 Lib
MIT License
1.74k stars 285 forks source link

ECONNRESET on putFile #199

Closed scriby closed 10 years ago

scriby commented 11 years ago

Hi,

This is sort of related to #197. I was able to get around the lingering connections problem by adding response.destroy() calls after each response from s3. But after uploading a little over a thousand files in serial, putFile is throwing an ECONNRESET error. This is happening pretty consistently, but it doesn't always occur after the same number of files.

I'm curious if this is something that you've seen before, or if you might know how to get more information on the cause of the error.

Thanks,

Chris

scriby commented 11 years ago

http://blog.blitline.com/post/29157492002/things-to-know-about-s3

Seems like the same symptom.

georgephillips commented 10 years ago

Seeing this error as well.

domenic commented 10 years ago

It sounds like this is just a general problem with S3. I don't think it's appropriate to address it at the Knox level (e.g. do a retry); instead try the intimidate library.