To Whom It May Concern:
I have an ActiveRecord-based application (non-Rails). Life was grand
until I upgraded ActiveRecord yesterday, after which point I was getting
TONNES of these errors from my app and in PostgreSQL’s logs:
FATAL: terminating connection due to administrator command
According to Google searching, this happens when an external process
sends PostgreSQL SIGINT or SIGTERM. Some threads suggested it might be
Linux’ OOM killer or something similar.
Whatever it was, it rendered my application essentially unusable,
because it couldn’t get through more than 5 to 15 DB hits before getting
that error, and all subsequent DB hits would give “no connection to the
Happily, I am able to use a specific AR version with:
require_gem ‘activerecord’, ‘<= 1.13,2’
and that made the problem go away, so I’m content [for now].
I thought I’d mention my little adventure, so that Whomever Is In Charge
would be informed.