Donmai

Danbooru 2 Issues Topic

Posted under General

This topic has been locked.

I can't seem to add favorites right now. When I click the "Favorite" button for a picture, it goes to my favorites, but doesn't add said picture.

And for some reason, I also can't edit tags.

These issues only started today.

EDIT: Nevermind, it was a cache issue. Cleaned it and things are back to normal.

Updated

Can anyone with a >=gold account please go to https://danbooru.donmai.us/posts/1.xml while being logged in and tell me the content of the 3rd line (starts with "<created-at type"). Next, sign out and visit the link again. Did the content of the 3rd line change?

I'm getting the following results:

  • <created-at type="dateTime">2005-05-24T03:35:31Z</created-at> (logged in)
  • <created-at type="dateTime">2005-05-23T23:35:31-04:00</created-at> (logged out)

Yes, it changes for me.
2005-05-24T08:35:31+05:00 when logged in,
2005-05-23T23:35:31-04:00 when logged out.

-4 is default server timezone, user timezone is configured in the settings, so I think everything works as intended.

Type-kun said:

Yes, it changes for me.
2005-05-24T08:35:31+05:00 when logged in,
2005-05-23T23:35:31-04:00 when logged out.

-4 is default server timezone, user timezone is configured in the settings, so I think everything works as intended.

Okay, thanks.

Looks like this is only happening for users that have picked "(GMT+00:00) UTC" in their account settings (see issue #2636).

Not sure if this is related to the development going on in regards to Replacing tag subscriptions with saved searches (topic #13065).

Anyways, I get the following error when attempting to open a saved search category (i.e. search:category) or all all saved searches (i.e. search:all):

RuntimeError exception raised

HTTP error code: 502 Bad Gateway
/var/www/danbooru2/releases/20160801173540/app/models/saved_search.rb:95:in `block in post_ids'
/home/albert/.rbenv/versions/2.1.5/lib/ruby/2.1.0/net/http.rb:853:in `start'
/home/albert/.rbenv/versions/2.1.5/lib/ruby/2.1.0/net/http.rb:583:in `start'
/var/www/danbooru2/releases/20160801173540/app/models/saved_search.rb:90:in `post_ids'
/var/www/danbooru2/releases/20160801173540/app/logical/post_query_builder.rb:109:in `block in add_saved_search_relation'
/var/www/danbooru2/releases/20160801173540/app/logical/post_query_builder.rb:105:in `each'
/var/www/danbooru2/releases/20160801173540/app/logical/post_query_builder.rb:105:in `add_saved_search_relation'
/var/www/danbooru2/releases/20160801173540/app/logical/post_query_builder.rb:227:in `build'
/var/www/danbooru2/releases/20160801173540/app/models/post.rb:1568:in `tag_match'
/var/www/danbooru2/releases/20160801173540/app/models/post.rb:1103:in `block in fast_count_search'
/var/www/danbooru2/releases/20160801173540/config/initializers/active_record_extensions.rb:16:in `with_timeout'
/var/www/danbooru2/releases/20160801173540/app/models/post.rb:1102:in `fast_count_search'
/var/www/danbooru2/releases/20160801173540/app/models/post.rb:1093:in `fast_count'
/var/www/danbooru2/releases/20160801173540/app/logical/post_sets/post.rb:89:in `get_post_count'
/var/www/danbooru2/releases/20160801173540/app/logical/post_sets/post.rb:125:in `posts'
/var/www/danbooru2/releases/20160801173540/app/controllers/posts_controller.rb:19:in `index'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/abstract_controller/base.rb:198:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:117:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:117:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/notifications.rb:164:in `block in instrument'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/notifications.rb:164:in `instrument'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/abstract_controller/base.rb:137:in `process'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionview-4.2.5.1/lib/action_view/rendering.rb:30:in `process'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal.rb:196:in `dispatch'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal.rb:237:in `block in action'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:74:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:43:in `serve'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:43:in `block in serve'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:30:in `each'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:30:in `serve'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:815:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/rack/agent_hooks.rb:30:in `traced_call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/rack/browser_monitoring.rb:32:in `traced_call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/flash.rb:260:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/cookies.rb:560:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/query_cache.rb:36:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/rack/logger.rb:38:in `call_app'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/rack/logger.rb:20:in `block in call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/tagged_logging.rb:68:in `block in tagged'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/tagged_logging.rb:26:in `tagged'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/tagged_logging.rb:68:in `tagged'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/rack/logger.rb:20:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/request_id.rb:21:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/engine.rb:518:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/application.rb:165:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/tempfile_reaper.rb:15:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/commonlogger.rb:33:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/chunked.rb:54:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:580:in `process_client'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/gctools-0.2.3/lib/gctools/oobgc/unicorn_middleware.rb:13:in `process_client'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:674:in `worker_loop'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:529:in `spawn_missing_workers'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:140:in `start'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/bin/unicorn:126:in `<top (required)>'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/bin/unicorn:23:in `load'
/var/www/danbooru2/shared/bundle/ruby/2.1.0/bin/unicorn:23:in `<main>'

Oniii-chan said:

This link doesn't work...

In regards to the links you provided, the following provides a bit more information on the cause of fault:

JSON Query
{"success": false, "message": "ERROR: canceling statement due to statement timeout\n"}

In contrast, this is a valid JSON query.

So however the data is being stored, the retrieval is taking longer than 9 seconds (for me) or 6 seconds (for you), which causes the error.

Also, I did a little testing, and many of the a<post_version> and b<post_version> around 15727166 cause a timeout as well. However, I also tested narrowing the search query, basically searching for all post versions above 15726166 but limited to posts I've updated, and the query still took a while but it reliably works (for me, see my mention of timeouts above).

I keep trying to upload an ugoira but instead I got the error message "File size is too big".
I don't know that Danbooru has file size limitations on its uploads. Mind to tell me the limitations?

BrokenEagle98 said:

many of the a<post_version> and b<post_version>

Well, the query fail, if post version #15727167 presented in its result. Probably, you are not the one who make that change, so narrow query works.

P.s.

Actually, not.

Yesterday https://danbooru.donmai.us/post_versions?page=a15727167 works, but today it isn't.
So, I no longer understand, what's going on.

P.p.s.
This post version 15727167 belongs to the post 207702. And this post has 40 pages of versions:
https://danbooru.donmai.us/post_versions?page=1&search%5Bpost_id%5D=207702

Probably, there is some connection to the time of query of one of this versions.

Updated

Tag Alias and Tag Implication requests are no longer visible once they are rejected. In contrast, Bulk Update Requests are still visible, even after they are rejected.

Not sure if this is the intended behavior. A reason to keep the old requests visible is to provide a mechanism to determine whether an alias/implication has already submitted. It's true that there are still artifacts of the request in the Forum, however, there are a lot more false positives generated when searching through the forums than would be through the alias/implication interface.

BrokenEagle98 said:

Tag Alias and Tag Implication requests are no longer visible once they are rejected. In contrast, Bulk Update Requests are still visible, even after they are rejected.

Not sure if this is the intended behavior. A reason to keep the old requests visible is to provide a mechanism to determine whether an alias/implication has already submitted. It's true that there are still artifacts of the request in the Forum, however, there are a lot more false positives generated when searching through the forums than would be through the alias/implication interface.

Aliases and Implications are older and simply don't have a "rejected" status - they are deleted instead. Since it wasn't planned, adding "rejected" status would require some effort - for example, re-submitting a rejected alias would throw "already exists" exception with current code.

Ah, I see. Well, it's not like we could depend on users to even use that functionality if it did exist to search for aliases or implications before submitting them. Those users that would, probably already do search the forums, and those that don't probably wouldn't use that functionality anyways. Thanks for the info though.

Pinging @albert; I noticed this started happening after he deployed some changes a couple hours ago. Here is the stack trace I get when favoriting:

Show
<li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `exec_prepared&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `block in exec_cache&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract_adapter.rb:472:in `block in log&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract_adapter.rb:466:in `log&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/postgresql_adapter.r601:in `exec_cache&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:585:in `execute_and_clear&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:173:in `exec_delete&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/database_statements.rb:114:in `update&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/relation.rb:345:in `update_all&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/active_record_helper.rb:39:in `block in update_all&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/transaction.rb:807:in `with_database_metric_name&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent.rb:572:in `with_database_metric_name&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/active_record_helper.rb:38:in `update_all&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/persistence.rb:299:in `update_columns&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/releases/20160822205730/app/models/post.rb:1763:in `update_columns&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/persistence.rb:273:in `update_column&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/releases/20160822205730/app/models/post.rb:1757:in `update_column&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/releases/20160822205730/app/models/post.rb:866:in `clean_fav_string!&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/releases/20160822205730/app/models/post.rb:876:in `append_user_to_fav_string&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/releases/20160822205730/app/models/favorite.rb:22:in `block in add&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:220:in `transaction&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/releases/20160822205730/app/models/favorite.rb:16:in `add&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/releases/20160822205730/app/models/post.rb:880:in `add_favorite!&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/releases/20160822205730/app/controllers/favorites_controller.rb:28:in `create&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/abstract_controller/base.rb:198:in `process_action&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/rendering.rb:10:in `process_action&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:117:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:117:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in `run_callbacks&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/abstract_controller/callbacks.rb:19:in `process_action&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/rescue.rb:29:in `process_action&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/notifications.rb:164:in `block in instrument&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/notifications.rb:164:in `instrument&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/abstract_controller/base.rb:137:in `process&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionview-4.2.5.1/lib/action_view/rendering.rb:30:in `process&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal.rb:196:in `dispatch&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal.rb:237:in `block in action&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:74:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:74:in `dispatch&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:43:in `serve&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:43:in `block in serve&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:30:in `each&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:30:in `serve&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:815:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/rack/agent_hooks.rb:30:in `traced_call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/rack/browser_monitoring.rb:32:in `traced_call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:38:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/params_parser.rb:27:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/flash.rb:260:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/cookies.rb:560:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/query_cache.rb:36:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:88:in `__run_callbacks__&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_call_callbacks&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in `run_callbacks&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/callbacks.rb:27:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/remote_ip.rb:78:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/rack/logger.rb:38:in `call_app&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/rack/logger.rb:20:in `block in call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/tagged_logging.rb:68:in `block in tagged&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/tagged_logging.rb:26:in `tagged&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/tagged_logging.rb:68:in `tagged&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/rack/logger.rb:20:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/request_id.rb:21:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/engine.rb:518:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/application.rb:165:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/tempfile_reaper.rb:15:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/commonlogger.rb:33:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/chunked.rb:54:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.13.0.299/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:580:in `process_client&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/gctools-0.2.3/lib/gctools/oobgc/unicorn_middleware.rb:13:in `process_client&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:674:in `worker_loop&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:529:in `spawn_missing_workers&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:140:in `start&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/unicorn-4.9.0/bin/unicorn:126:in `&lt;top (required)&gt;&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/bin/unicorn:23:in `load&#39;</li>
      <li style="list-style-type: none;">/var/www/danbooru2/shared/bundle/ruby/2.1.0/bin/unicorn:23:in `&lt;main&gt;&#39;</li>

post.rb:1763: update_columns is the interesting part; that method calls notify_pubsub, which was recently changed in the following commits, so I'm gonna guess one of those is the cause.

[1]: https://github.com/r888888888/danbooru/commit/3c42df51c978de705e8314275d9f67a264bbae7f
[2]: https://github.com/r888888888/danbooru/commit/ed196cc47c4e1556bc2a6f30e915661660eaf6c6