[typo] Frustrating Dreamhost/Typo experience

Scott Hughes (list) shughes_list at globalreset.org
Mon Aug 29 18:53:46 EDT 2005


> I went ahead and updated to the latest SVN (rev 586) yesterday, and  
> it looks like my production.log is error free so far.  I still get an  
> occasional "Typo app cannot be reached" error, but it always goes  
> away if I retry the same operation.
>
So, it was smooth sailing for a while, but it did crash on me again.  I 
noticed that Typo was completely non-responsive, so I watched 
production.log to see if any errors popped up while I tried to reach it 
with my browser.  There were none.  The browser would eventually time 
out.  Further, and this is strange, whenever the browser timed out, 
Dreamhost would boot me from my ssh session as well.  I saw 32 "ruby 
dispatch.fcgi" processes running, and 10 of those were labeled 
"defunct".  I tried running dispatch.fcgi (as Scott Laird suggested 
earlier), and I got this output (much shorter than previous attempts):

Content-Type: text/html
Set-Cookie: _session_id=70751c8222487ea446e08a626e92f86a; path=/
Status: 200 OK
Cache-Control: no-cache

<html><body><h1>Application error (Rails)</h1></body></html>


I was watching production.log as well, and the following trace was appended:

ActionView::TemplateError (undefined method `+' for nil:NilClass) on 
line #7 of /../../themes/globalreset/layouts/default.rhtml:
4:   <title><%= page_title %></title>
5:   <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6:   <%= meta_tag 'ICBM', config_value(:geourl_location)  %>
7:   <link rel="EditURI" type="application/rsd+xml" title="RSD" 
href="<%= server_url_for :controller => 'xml', :action => 'rsd' %>" />
8:   <!-- <  = auto_discovery_link_tag :rss, :controller => 'xml', 
:action => 'rss'  > -->
9:   <link href="http://feeds.feedburner.com/GlobalReset" 
rel="alternate" title="RSS" type="application/rss+xml" />
10:   <%= stylesheet_link_tag "/stylesheets/theme/globalreset" %>

    /gems/actionpack-1.9.1/lib/action_controller/request.rb:183:in 
`host_with_port'
    /gems/actionpack-1.9.1/lib/action_controller/url_rewriter.rb:24:in 
`rewrite_url'
    /gems/actionpack-1.9.1/lib/action_controller/url_rewriter.rb:11:in 
`rewrite'
    /gems/actionpack-1.9.1/lib/action_controller/base.rb:440:in `url_for'
    /gems/actionpack-1.9.1/lib/action_view/helpers/url_helper.rb:12:in 
`send'
    /gems/actionpack-1.9.1/lib/action_view/helpers/url_helper.rb:12:in 
`url_for'
    ./blog/typoconfig/..//app/helpers/application_helper.rb:7:in 
`server_url_for' (erb):7:in `evaluate_locals'
    /gems/actionpack-1.9.1/lib/action_view/base.rb:272:in `evaluate_locals'
    /gems/actionpack-1.9.1/lib/action_view/base.rb:283:in `rhtml_render'
    /gems/actionpack-1.9.1/lib/action_view/base.rb:208:in `send'
    /gems/actionpack-1.9.1/lib/action_view/base.rb:208:in `render_template'
    ./blog/typoconfig/..//lib/renderfix.rb:23:in `render_file'
    /gems/actionpack-1.9.1/lib/action_controller/layout.rb:214:in 
`render_without_benchmark'
    /gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`render'
    /gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`measure'
    /gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`render'
    ./blog/typoconfig/../app/controllers/articles_controller.rb:72:in 
`error'
    ./blog/typoconfig/../app/controllers/articles_controller.rb:207:in 
`rescue_action_in_public'
    /gems/actionpack-1.9.1/lib/action_controller/rescue.rb:33:in 
`rescue_action'
    /gems/actionpack-1.9.1/lib/action_controller/rescue.rb:106:in 
`perform_action'
    /gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in `send'
    /gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in `process'
    /gems/rails-0.13.1/lib/dispatcher.rb:32:in `dispatch'
    /gems/rails-0.13.1/lib/fcgi_handler.rb:144:in `process_request'
    /gems/rails-0.13.1/lib/fcgi_handler.rb:64:in `process!'
    /gems/rails-0.13.1/lib/fcgi_handler.rb:55:in `each_cgi'
    /gems/rails-0.13.1/lib/fcgi_handler.rb:55:in `process!'
    /gems/rails-0.13.1/lib/fcgi_handler.rb:21:in `process!'
    blog/typo/public/dispatch.fcgi:24


Any ideas?  As I said, I updated to the latest SVN and I thought it was 
working better.  It definitely went longer than it ever had without 
crashing.

Thanks,

Scott Hughes
http://blog.globalreset.org/


More information about the Typo-list mailing list