Skip to main content

Drupal and AWS - over 300 simultaneous database connections

The issue of over 300 simultaneous database connections in the context of AWS and Drupal can have several potential causes. Here are some common factors to consider:

Server Configuration

Check your server configuration to ensure it can handle the expected number of simultaneous connections. This includes parameters like max_connections in your database server configuration.

sudo docker ps and exec -it

Working in an AWS ec2 environment, my goal is to access the server via terminal.

I initially work to get the instance ID.  With this ID, I'm able to connect to the server.  When first accessing the environment on the server the steps I take are:

sudo docker ps

ps - refers to the 'process status'

Response

Subscribe to AWS