Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Message:
- #<ActiveRecord::StatementInvalid: PG::AdminShutdown: FATAL: terminating connection due to administrator command server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. : SELECT "users".* FROM "users" WHERE "users"."id" = 128187 LIMIT 1>
- ************************************************************************************************************
- Trace:
- /home/sg/.gem/ruby/1.9/gems/activerecord-3.1.12/lib/active_record/connection_adapters/postgresql_adapter.rb:1061:in `exec'
- /home/sg/.gem/ruby/1.9/gems/activerecord-3.1.12/lib/active_record/connection_adapters/postgresql_adapter.rb:1061:in `exec_no_cache'
- /home/sg/.gem/ruby/1.9/gems/activerecord-3.1.12/lib/active_record/connection_adapters/postgresql_adapter.rb:615:in `block in exec_query'
- /home/sg/.gem/ruby/1.9/bundler/gems/apress-utils-6da79077236e/lib/apress/utils/extensions/active_record/postgresql_patches.rb:137:in `block in log'
- /home/sg/.gem/ruby/1.9/gems/activesupport-3.1.12/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
- /home/sg/.gem/ruby/1.9/bundler/gems/apress-utils-6da79077236e/lib/apress/utils/extensions/active_record/postgresql_patches.rb:132:in `log'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/active_record.rb:63:in `block in log_with_newrelic_instrumentation'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/method_tracer.rb:69:in `block in trace_execution_scoped'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/method_tracer_helpers.rb:82:in `trace_execution_scoped'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/method_tracer.rb:67:in `trace_execution_scoped'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/active_record.rb:60:in `log_with_newrelic_instrumentation'
- /home/sg/.gem/ruby/1.9/gems/activerecord-3.1.12/lib/active_record/connection_adapters/postgresql_adapter.rb:614:in `exec_query'
- (eval):9:in `exec_query_with_at_active_record'
- /home/sg/.gem/ruby/1.9/gems/activerecord-3.1.12/lib/active_record/connection_adapters/postgresql_adapter.rb:1156:in `select'
- /home/sg/.gem/ruby/1.9/gems/activerecord-3.1.12/lib/active_record/connection_adapters/abstract/database_statements.rb:20:in `select_all'
- /home/sg/.gem/ruby/1.9/gems/activerecord-3.1.12/lib/active_record/connection_adapters/abstract/query_cache.rb:61:in `block in select_all'
- /home/sg/.gem/ruby/1.9/gems/activerecord-3.1.12/lib/active_record/connection_adapters/abstract/query_cache.rb:75:in `cache_sql'
- /home/sg/.gem/ruby/1.9/gems/activerecord-3.1.12/lib/active_record/connection_adapters/abstract/query_cache.rb:61:in `select_all'
- /home/sg/.gem/ruby/1.9/gems/activerecord-3.1.12/lib/active_record/base.rb:470:in `find_by_sql'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/method_tracer.rb:343:in `block in find_by_sql_with_trace_ActiveRecord_self_name_find_by_sql'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/method_tracer_helpers.rb:82:in `trace_execution_scoped'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/method_tracer.rb:341:in `find_by_sql_with_trace_ActiveRecord_self_name_find_by_sql'
- /home/sg/.gem/ruby/1.9/gems/activerecord-3.1.12/lib/active_record/relation.rb:112:in `to_a'
- /home/sg/.gem/ruby/1.9/gems/activerecord-3.1.12/lib/active_record/relation/finder_methods.rb:376:in `find_first'
- /home/sg/.gem/ruby/1.9/gems/activerecord-3.1.12/lib/active_record/relation/finder_methods.rb:122:in `first'
- /home/sg/.gem/ruby/1.9/gems/activerecord-3.1.12/lib/active_record/relation/finder_methods.rb:263:in `find_by_attributes'
- /home/sg/.gem/ruby/1.9/gems/activerecord-3.1.12/lib/active_record/base.rb:1074:in `method_missing'
- /home/sg/.gem/ruby/1.9/gems/authlogic-3.2.0/lib/authlogic/session/scopes.rb:95:in `block in search_for_record'
- /home/sg/.gem/ruby/1.9/gems/activerecord-3.1.12/lib/active_record/base.rb:1207:in `with_scope'
- /home/sg/.gem/ruby/1.9/gems/authlogic-3.2.0/lib/authlogic/session/scopes.rb:94:in `search_for_record'
- /home/sg/.gem/ruby/1.9/gems/authlogic-3.2.0/lib/authlogic/session/cookies.rb:164:in `persist_by_cookie'
- /home/sg/.gem/ruby/1.9/gems/activesupport-3.1.12/lib/active_support/callbacks.rb:404:in `_run_persist_callbacks'
- /home/sg/.gem/ruby/1.9/gems/activesupport-3.1.12/lib/active_support/callbacks.rb:81:in `run_callbacks'
- /home/sg/.gem/ruby/1.9/gems/authlogic-3.2.0/lib/authlogic/session/callbacks.rb:88:in `persist'
- /home/sg/.gem/ruby/1.9/gems/authlogic-3.2.0/lib/authlogic/session/persistence.rb:56:in `persisting?'
- /home/sg/.gem/ruby/1.9/gems/authlogic-3.2.0/lib/authlogic/session/persistence.rb:39:in `find'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/method_tracer.rb:343:in `block in find_with_trace_Custom_Authlogic_find'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/method_tracer_helpers.rb:82:in `trace_execution_scoped'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/method_tracer.rb:341:in `find_with_trace_Custom_Authlogic_find'
- /home/sg/.gem/ruby/1.9/gems/apress-clearance-5.0.0/lib/apress/clearance/controller_extension.rb:87:in `current_user_session'
- /home/sg/.gem/ruby/1.9/gems/apress-clearance-5.0.0/lib/apress/clearance/controller_extension.rb:92:in `current_user'
- /home/sg/.gem/ruby/1.9/gems/apress-clearance-5.0.0/lib/apress/clearance/controller_extension.rb:96:in `signed_in?'
- /home/sg/sites/sguide/releases/20160629070935/app/controllers/extensions/application_controller.rb:51:
- in `set_time_zone'
- /home/sg/.gem/ruby/1.9/gems/activesupport-3.1.12/lib/active_support/callbacks.rb:475:in `_run__3860875457848486716__process_action__2004246045558768499__callbacks'
- /home/sg/.gem/ruby/1.9/gems/activesupport-3.1.12/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
- /home/sg/.gem/ruby/1.9/gems/activesupport-3.1.12/lib/active_support/callbacks.rb:81:in `run_callbacks'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/abstract_controller/callbacks.rb:17:in `process_action'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_controller/metal/rescue.rb:17:in `process_action'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
- /home/sg/.gem/ruby/1.9/gems/activesupport-3.1.12/lib/active_support/notifications.rb:53:in `block in instrument'
- /home/sg/.gem/ruby/1.9/gems/activesupport-3.1.12/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
- /home/sg/.gem/ruby/1.9/gems/activesupport-3.1.12/lib/active_support/notifications.rb:53:in `instrument'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
- /home/sg/.gem/ruby/1.9/gems/activerecord-3.1.12/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:32:in `block in process_action'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:366:in `perform_action_with_newrelic_trace'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:31:in `process_action'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/abstract_controller/base.rb:121:in `process'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/abstract_controller/rendering.rb:45:in `process'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_controller/metal.rb:193:in `dispatch'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_controller/metal.rb:236:in `block in action'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_dispatch/routing/route_set.rb:71:in `call'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_dispatch/routing/route_set.rb:71:in `dispatch'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_dispatch/routing/route_set.rb:35:in `call'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_dispatch/routing/mapper.rb:43:in `call'
- /home/sg/.gem/ruby/1.9/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in `block in call'
- /home/sg/.gem/ruby/1.9/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `block in recognize'
- /home/sg/.gem/ruby/1.9/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:1244:in `optimized_each'
- /home/sg/.gem/ruby/1.9/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in `recognize'
- /home/sg/.gem/ruby/1.9/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in `call'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_dispatch/routing/route_set.rb:538:in `call'
- /home/sg/sites/sguide/releases/20160629070935/vendor/plugins/core_domains/lib/core/domains/extensions/action_dispatch/route_set.rb:20:in `call_with_multidomain_request'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/rack-1.3.10/lib/rack/cascade.rb:33:in `block in call'
- /home/sg/.gem/ruby/1.9/gems/rack-1.3.10/lib/rack/cascade.rb:24:in `each'
- /home/sg/.gem/ruby/1.9/gems/rack-1.3.10/lib/rack/cascade.rb:24:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/bundler/gems/rack-insight-6bb3afdaa292/lib/rack/insight/enable-button.rb:8:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/bundler/gems/rack-insight-6bb3afdaa292/lib/rack/insight/app.rb:62:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/rack-cors-0.2.9/lib/rack/cors.rb:54:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/sites/sguide/releases/20160629070935/lib/middleware/google_bot_aware.rb:25:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/oink-0.10.1/lib/oink/middleware.rb:17:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/apress-application-2.0.2/lib/apress/application/middleware/weak_etag.rb:13:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/rack/agent_hooks.rb:30:in `traced_call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:55:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/rack/browser_monitoring.rb:23:in `traced_call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:55:in `call'
- /home/sg/sites/sguide/releases/20160629070935/lib/middleware/predl_redirect.rb:13:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_dispatch/middleware/head.rb:14:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_dispatch/middleware/flash.rb:243:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/rack-1.3.10/lib/rack/session/abstract/id.rb:195:in `context'
- /home/sg/.gem/ruby/1.9/gems/rack-1.3.10/lib/rack/session/abstract/id.rb:190:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_dispatch/middleware/cookies.rb:331:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/activerecord-3.1.12/lib/active_record/query_cache.rb:64:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/activerecord-3.1.12/lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
- /home/sg/.gem/ruby/1.9/gems/activesupport-3.1.12/lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
- /home/sg/.gem/ruby/1.9/gems/activesupport-3.1.12/lib/active_support/callbacks.rb:81:in `run_callbacks'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_dispatch/middleware/callbacks.rb:28:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/rack-1.3.10/lib/rack/sendfile.rb:101:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/railties-3.1.12/lib/rails/rack/logger.rb:13:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/request_store-1.0.8/lib/request_store/middleware.rb:8:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/rack-1.3.10/lib/rack/methodoverride.rb:24:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/rack-1.3.10/lib/rack/runtime.rb:17:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/rack-1.3.10/lib/rack/lock.rb:15:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/rack-rewrite-1.2.1/lib/rack/rewrite.rb:20:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/actionpack-3.1.12/lib/action_dispatch/middleware/static.rb:61:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/sites/sguide/releases/20160629070935/lib/middleware/ensure_encoding.rb:22:in `call'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/railties-3.1.12/lib/rails/engine.rb:456:in `call'
- /home/sg/.gem/ruby/1.9/gems/railties-3.1.12/lib/rails/application.rb:143:in `call'
- /home/sg/.gem/ruby/1.9/gems/railties-3.1.12/lib/rails/railtie/configurable.rb:30:in `method_missing'
- /home/sg/.gem/ruby/1.9/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
- /home/sg/.gem/ruby/1.9/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:531:in `process_client'
- /home/sg/.gem/ruby/1.9/gems/unicorn-4.3.1/lib/unicorn/oob_gc.rb:60:in `process_client'
- /home/sg/.gem/ruby/1.9/gems/unicorn-worker-killer-0.4.3/lib/unicorn/worker_killer.rb:52:in `process_client'
- /home/sg/.gem/ruby/1.9/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:606:in `worker_loop'
- /home/sg/.gem/ruby/1.9/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:487:in `spawn_missing_workers'
- /home/sg/.gem/ruby/1.9/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:498:in `maintain_worker_count'
- /home/sg/.gem/ruby/1.9/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:272:in `join'
- /usr/lib64/ruby/gems/1.9.1/gems/unicorn-4.7.0/bin/unicorn_rails:209:in `<top (required)>'
- /usr/bin/unicorn_rails:9:in `load'
- /usr/bin/unicorn_rails:9:in `<main>'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement