Skip to content

Instantly share code, notes, and snippets.

@fivetwentysix
Created October 6, 2011 02:12
Show Gist options
  • Select an option

  • Save fivetwentysix/1266325 to your computer and use it in GitHub Desktop.

Select an option

Save fivetwentysix/1266325 to your computer and use it in GitHub Desktop.
[ pid=19462 thr=68395580 file=utils.rb:176 time=2011-10-06 10:12:03.963 ]: *** Exception PGError in application (server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
) (process 19462, thread #<Thread:0x00000008274478>):
from /home/pma/www/BOSS/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/connection_adapters/postgresql_adapter.rb:276:in `exec'
from /home/pma/www/BOSS/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/connection_adapters/postgresql_adapter.rb:276:in `block in clear_cache!'
from /home/pma/www/BOSS/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/connection_adapters/postgresql_adapter.rb:275:in `each_value'
from /home/pma/www/BOSS/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/connection_adapters/postgresql_adapter.rb:275:in `clear_cache!'
from /home/pma/www/BOSS/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/connection_adapters/postgresql_adapter.rb:303:in `disconnect!'
from /home/pma/www/BOSS/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:202:in `block in disconnect!'
from /home/pma/www/BOSS/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:201:in `each'
from /home/pma/www/BOSS/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:201:in `disconnect!'
from /home/pma/www/BOSS/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/core_ext/module/synchronization.rb:35:in `block in disconnect_with_synchronization!'
from /home/pma/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
from /home/pma/www/BOSS/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/core_ext/module/synchronization.rb:34:in `disconnect_with_synchronization!'
from /home/pma/www/BOSS/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:395:in `block in clear_all_connections!'
from /home/pma/www/BOSS/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:395:in `each_value'
from /home/pma/www/BOSS/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:395:in `clear_all_connections!'
from /home/pma/www/BOSS/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.0/lib/active_record/connection_adapters/abstract/connection_specification.rb:123:in `clear_all_connections!'
from /home/pma/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8/lib/phusion_passenger/utils.rb:398:in `before_handling_requests'
from /home/pma/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8/lib/phusion_passenger/rack/application_spawner.rb:204:in `start_request_handler'
from /home/pma/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8/lib/phusion_passenger/rack/application_spawner.rb:170:in `block in handle_spawn_application'
from /home/pma/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8/lib/phusion_passenger/utils.rb:479:in `safe_fork'
from /home/pma/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8/lib/phusion_passenger/rack/application_spawner.rb:165:in `handle_spawn_application'
from /home/pma/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
from /home/pma/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
from /home/pma/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8/lib/phusion_passenger/abstract_server.rb:180:in `start'
from /home/pma/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8/lib/phusion_passenger/rack/application_spawner.rb:128:in `start'
from /home/pma/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8/lib/phusion_passenger/spawn_manager.rb:253:in `block (2 levels) in spawn_rack_application'
from /home/pma/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8/lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
from /home/pma/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8/lib/phusion_passenger/spawn_manager.rb:246:in `block in spawn_rack_application'
from /home/pma/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8/lib/phusion_passenger/abstract_server_collection.rb:82:in `block in synchronize'
from <internal:prelude>:10:in `synchronize'
from /home/pma/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
from /home/pma/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8/lib/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application'
from /home/pma/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8/lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application'
from /home/pma/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8/lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
from /home/pma/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
from /home/pma/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
from /home/pma/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8/helper-scripts/passenger-spawn-server:99:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment