Just today I''ve started to get errors in my system that show up like this in my development.log file /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:231b:211:in `run''`run''''.rb:117:in `process''sion_management_support'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:231b:211:in `run''`run''''.rb:117:in `process''sion_management_support'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:231b:211:in `run''`run''''.rb:117:in `process''sion_management_support'' I''m not sure what I could have changed that would cause these errors or if it was even something I did. When this error happens, my rails app issues the 500 Internal Server Error page and the whole session crashes. you need to close your browser and clear your cache before you can use my app again? Anyone seen anything like this or have any idea where to begin looking? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
this is the full listing from the development.log file Jan 12 12:51:08 rpdev1 rails[17520]: marshal data too short /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session/active_record_store.rb:82:in `load'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session/active_record_store.rb:82:in `unmarshal'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session/active_record_store.rb:120:in `data'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session/active_record_store.rb:300:in `restore'' /usr/lib/ruby/1.8/cgi/session.rb:304:in `[]'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/cgi_process.rb:114:in `session'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/cgi_process.rb:142:in `stale_session_check!'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/cgi_process.rb:108:in `session'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:918:in `assign_shortcuts_without_flash'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/flash.rb:141:in `assign_shortcuts'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:402:in `process_without_filters'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:377:in `process_without_session_management_support'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session_management.rb:117:in `process'' /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in `dispatch'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/rails.rb:84:in `process'' /usr/lib/ruby/1.8/sync.rb:229:in `synchronize'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/rails.rb:83:in `process'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:580:in `process_client'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:579:in `each'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:579:in `process_client'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in `run'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in `initialize'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in `new'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in `run'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:673:in `initialize'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:673:in `new'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:673:in `run'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/configurator.rb:267:in `run'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/configurator.rb:266:in `each'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/configurator.rb:266:in `run'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:127:in `run'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/command.rb:211:in `run'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:231 /usr/bin/mongrel_rails:18:in `load'' /usr/bin/mongrel_rails:18 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
That problem has nothing to do with mongrel. Its a problem with your session handling code. 95% of the time that people get the marshal data too short error it''s caused by storing too much data in the session. Or storing complete AR objects in the session. If you are storing full AR objects in the sessions then change your code to just store the id in the session and do a lookup on that id in a before filter. -Ezra On Jan 12, 2007, at 9:58 AM, Craig Jolicoeur wrote:> > this is the full listing from the development.log file > > Jan 12 12:51:08 rpdev1 rails[17520]: marshal data too short > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/ > session/active_record_store.rb:82:in > `load'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/ > session/active_record_store.rb:82:in > `unmarshal'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/ > session/active_record_store.rb:120:in > `data'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/ > session/active_record_store.rb:300:in > `restore'' > /usr/lib/ruby/1.8/cgi/session.rb:304:in `[]'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/ > cgi_process.rb:114:in > `session'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/ > cgi_process.rb:142:in > `stale_session_check!'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/ > cgi_process.rb:108:in > `session'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/ > base.rb:918:in > `assign_shortcuts_without_flash'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/ > flash.rb:141:in > `assign_shortcuts'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/ > base.rb:402:in > `process_without_filters'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/ > filters.rb:377:in > `process_without_session_management_support'' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/ > session_management.rb:117:in > `process'' > /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in > `dispatch'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/rails.rb: > 84:in > `process'' > /usr/lib/ruby/1.8/sync.rb:229:in `synchronize'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/rails.rb: > 83:in > `process'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:580:in > `process_client'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:579:in > `each'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:579:in > `process_client'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in > `run'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in > `initialize'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in > `new'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in > `run'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:673:in > `initialize'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:673:in > `new'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:673:in > `run'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/ > configurator.rb:267:in > `run'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/ > configurator.rb:266:in > `each'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/ > configurator.rb:266:in > `run'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:127:in > `run'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/command.rb: > 211:in > `run'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:231 > /usr/bin/mongrel_rails:18:in `load'' > /usr/bin/mongrel_rails:18 > > > -- > Posted via http://www.ruby-forum.com/. > > >-- Ezra Zygmuntowicz -- Lead Rails Evangelist -- ez-NLltGlunAUd/unjJdyJNww@public.gmane.org -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD (9273) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---