rails 2 and slow external services

ghazel at gmail.com ghazel at gmail.com
Wed Dec 15 17:28:38 EST 2010


On Tue, Dec 14, 2010 at 6:01 PM,  <ghazel at gmail.com> wrote:
> On Tue, Dec 14, 2010 at 9:27 AM, Eric Wong <normalperson at yhbt.net> wrote:
>> ghazel at gmail.com wrote:
>>> Hm. Well I was unaware that there was any timeout issue with my
>>> application. When a Unicorn process timed out and died, how did the
>>> request not timeout with nginx? Was it re-submitted to another worker?
>>
>> A timeout issue is one *possible* cause of the errors you were seeing
>> from nginx.  Of course you know the application better than I do, so,
>> I'm not certain it was a timeout issue, just a likely cause of the
>> errors.  Did your Unicorn error logs tell you if there were any
>> timeouts?
>
> Nothing in the Unicorn logs ever indicated an error like that.

Also with Rainbows! I see a good number of:
2010/12/15 21:37:42 [error] 2104#0: *174851 sendfile() failed (32:
Broken pipe) while sending request to upstream,
2010/12/15 21:37:55 [error] 2090#0: *175527 readv() failed (104:
Connection reset by peer) while reading upstream,

on our photo upload page. These errors did not occur with Unicorn, and
the Unicorn logs said nothing about a failure either.

-Greg


More information about the rainbows-talk mailing list