Scott, I'd also been having problems with my Typo being slow on my winxp development server, apache with fcgi always timing out on processes and wanting to start more and then maxing out. Webrick was slow but more reliable, although it did occasionally spit me errors. I've added them below. Changing to production and it flies! Awesome. Now I can design a theme and enter the theme contest. :) Curious, I'm a complete newbie to Ruby on Rails. How does development mode differ?
cheers, Craig. ------ [2005-11-11 18:24:20] ERROR Errno::EINVAL: Invalid argument c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:324:in `write' c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:324:in `<<' c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:324:in `_write_data' c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:296:in `send_body_string' c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:187:in `send_body' c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:104:in `send_response' c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:79:in `run' c:/ruby/lib/ruby/1.8/webrick/server.rb:155:in `start_thread' c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start' c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start_thread' c:/ruby/lib/ruby/1.8/webrick/server.rb:94:in `start' c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `each' c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `start' c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start' c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start' c:/ruby/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/webrick_server.rb:69:in `dispatch' c:/ruby/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/commands/servers/webrick .rb:59 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require __' c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require ' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/de pendencies.rb:214:in `require' c:/ruby/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/commands/server.rb:28 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require __' c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require ' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/de pendencies.rb:214:in `require' script/server:3 On 11/12/05, Scott Laird <scott at sigkill.org> wrote: > > > On Nov 11, 2005, at 4:30 AM, Bart Braem wrote: > > > My weblog is slow, so I am looking for answers. I tried running > > typo with a lighttpd backend and rendering my mainpage takes 3 > > seconds according to ab. That's not good... > > Caching does no seem to work: "There are 0 entries in the page > > cache". Any clues on why this might not work? > > 1. Are you running Typo in production mode? Look in log/ at > development.log and production.log--which one is growing? > 2. Typo write to the public/ directory? That's where the cache > goes; if it can't write there, then there is no cache. > > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051112/c1accb7c/attachment.htm
