Regaining control of D8 site overwhelmed by queries from a certain module
Date Published: February 5, 2025
Issue
Queries from one module, e.g. Database Logging (dblog), are completely overwhelming a Drupal site. No standard (and clean) ways of uninstalling the offending module are possible, due to current traffic.
Resolution
First log into one of the live webservers using https://docs.acquia.com/cloud-platform/manage/ssh/. Examples of ssh command-lines, for the various environments are given on the "Users and keys" page. To go to one of the live webservers, the command used here should begin ssh sitename.prod@... or h sitename.01live@... or similar.
Then try the command in this transcript to disable the module: