jjzjj

上传到 S3 时 Ruby Backup gem 失败。 37 分钟后连接重置

备份为250MB。我认为这不是很大,但问题似乎随着规模的增加而增加。从下面的备份gem登录。注意时间跨度;上传大约37分钟后,我收到了连接重置。[2015/10/3009:20:40][message]Storage::S3startedtransferring'2015.10.30.09.20.01.myapp_postgres.tar'tobucket'myapp-backups'.[2015/10/3009:57:06][error]ModelError:BackupforBackupPostgreSQL(myapp_postgres)Failed![2015/10/3009:5

ruby-on-rails - 为什么我会出现间歇性的 Excon::Error::Socket: getaddrinfo: No address associated with hostname (SocketError)?

Rails4-Ruby2.2.2-亚马逊AWSS3-蜻蜓1.0.12-dragonfly-s3_data_store1.2-fog-aws0.10.0大约99%的时间我们没有问题。这个问题通常只发生在使用率很高的时候,但我注意到它也发生在几乎没有用户的时候。抛出错误的行:#excon/lib/excon/socket.rb#line100insidetheconnectionmethod.addrinfo=::Socket.getaddrinfo(*args)该错误在应用程序中无处不在。有时在没有远程连接时会出现错误。-我无法再验证这一点。我使用Rails记录器来捕获传入的参数,通过和

ruby - Mandrill-api Excon::错误::SocketError

我在Ruby中使用Mandrill-api以编程方式发送交易电子邮件。我的Rails应用程序中(或多或少)有以下行,mandrill||=Mandrill::API.newconst(:API)[:MANDRILL_APIKEY]...(constructingthemessage,content,etc)mandrill.messages.send_templatetempl,template_content,message,true问题是在生产环境中运行时,它偶尔返回以下错误。Excon::Errors::SocketError(EOFError(EOFError)):app/ma