Rob (or anyone else),

 

During the last SDRuby meeting you mentioned that there are some patches out
there dealing with EOF errors with Amazon S3. I was wondering if you could
point me in the right direct of an article or patch for this since I get the
following error occasionally: 

 

I've attached the top of the error log for you to see. Let me know if you
need the rest of the log file. 

 

Thanks,

 

Ryan

 

 

  _____  

From: Rob Kaufman [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 13, 2007 3:49 PM
To: [email protected]
Subject: Re: [Sdruby] storing uploaded files

 

  I agree with both Patrick and Matt.  We use it here and laugh ourselves
silly at how small the bill is each month.

  However if S3 is not an option go with the file system.  By the time you
scale above one app server, it will probably be worth either a) using a SAN
or b) moving to S3.  The general advice I've heard, and the the lesson I've
learned from the school of hard knocks is that you want to limit your Blob
use when you can.  The Blob is best in b rate horror flicks and not in your
database tables. 

Rob

On 8/13/07, Patrick Crowley <[EMAIL PROTECTED]> wrote:

+1 for using S3 with attachment_fu.

-- Patrick


On Aug 13, 2007, at 4:16 PM, Matt Aimonetti wrote:

> AWS S3 attachment_fu work great for me and I generate temporary
> urls based on the user credentials. 
>
> - Matt

_______________________________________________
Sdruby mailing list
[email protected]
http://lists.sdruby.com/mailman/listinfo/sdruby

 

A EOFError occurred in account#add_avatar:

  end of file reached
  /usr/lib/ruby/1.8/net/protocol.rb:133:in `sysread'

-------------------------------
Request:
-------------------------------

  * URL: http://127.0.0.1:8000/account/add_avatar/ryan
  * Parameters: {"commit"=>"Upload", "action"=>"add_avatar", 
"controller"=>"account", "avatar"=>{"uploaded_data"=>#<File:/tmp/CGI25054-0>}, 
"login"=>"ryan"}
  * Rails root: /var/www/obsidianportal/

_______________________________________________
Sdruby mailing list
[email protected]
http://lists.sdruby.com/mailman/listinfo/sdruby

Reply via email to