# Rails page timing out after 10 seconds...?

**URL:** <https://www.ruby-forum.com/t/rails-page-timing-out-after-10-seconds/170381>\
**Category:** Rails\
**Created:** [June 16, 2009, 8:57pm UTC](https://www.ruby-forum.com/t/rails-page-timing-out-after-10-seconds/170381 "2009-06-16T20:57:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rustybucket](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/7cd45c/32.png) [@rustybucket](https://www.ruby-forum.com/u/rustybucket)\
**Post date:** [June 16, 2009, 8:57pm UTC](https://www.ruby-forum.com/t/rails-page-timing-out-after-10-seconds/170381/1 "2009-06-16T20:57:54Z")

</div>

I’ve migrated a Rails app that I didn’t build to a new server for a  
customer. Now there are certain pages which are timing out almost  
exactly at 10 seconds. They do not report an error, they just go to a  
blank white page.

I know they’re timing out and not erring out b/c when I reduce the size  
of the query by limit and the page loads fine every time. Also this is  
happening with file uploads. Small files upload fine, larger one’s that  
require processing go to a white screen at 10 seconds.

Rails 1.1.6 Ruby 1.8.4 Running on a Mongrel Cluster.

I’m open to any ideas or suggestions. Thanks, in advance for any  
assistance or guidance you may be able to provide!

---

<div class="post-metadata">

**Author:** ![rustybucket](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/7cd45c/32.png) [@rustybucket](https://www.ruby-forum.com/u/rustybucket)\
**Post date:** [June 16, 2009, 9:07pm UTC](https://www.ruby-forum.com/t/rails-page-timing-out-after-10-seconds/170381/2 "2009-06-16T21:07:50Z")

</div>

On Jun 16, 7:57 pm, Rusty Rustybucket \<rails-mailing-l…@andreas-  
[s.net](http://s.net)\> wrote:

> I’ve migrated a Rails app that I didn’t build to a new server for a  
> customer. Now there are certain pages which are timing out almost  
> exactly at 10 seconds. They do not report an error, they just go to a  
> blank white page.
> 
> I know they’re timing out and not erring out b/c when I reduce the size  
> of the query by limit and the page loads fine every time. Also this is  
> happening with file uploads. Small files upload fine, larger one’s that  
> require processing go to a white screen at 10 seconds.

This sounds like your load balancer (the thing that proxies requests  
to your mongrels) giving up.

Fred

---

<div class="post-metadata">

**Author:** ![rustybucket](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/7cd45c/32.png) [@rustybucket](https://www.ruby-forum.com/u/rustybucket)\
**Post date:** [June 16, 2009, 9:28pm UTC](https://www.ruby-forum.com/t/rails-page-timing-out-after-10-seconds/170381/3 "2009-06-16T21:28:17Z")

</div>

Frederick C. wrote:

> This sounds like your load balancer (the thing that proxies requests  
> to your mongrels) giving up.
> 
> Fred

Any guidance as to what to change to extend it’s attempt time? What  
file would this be located in?

---

<div class="post-metadata">

**Author:** ![rustybucket](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/7cd45c/32.png) [@rustybucket](https://www.ruby-forum.com/u/rustybucket)\
**Post date:** [June 17, 2009, 1:21am UTC](https://www.ruby-forum.com/t/rails-page-timing-out-after-10-seconds/170381/4 "2009-06-17T01:21:35Z")

</div>

Frederick C. wrote:

> This sounds like your load balancer (the thing that proxies requests  
> to your mongrels) giving up.
> 
> Fred

Sweet Solution! Apache’s timeout was set to… guess what…?

10 seconds

changed it to a higher value and all is well in the world now!

Thanks Frederick!!! You da man! 😃
