Documentation
¶
Overview ¶
Package failconns implements a workload which creates many database connections forcing Postgres to fork children processes until the value of max_connections is reached. When max_connections is reached all connection slots are exhausted and no one client can connect to Postgres.
Implementation of the workload is quite simple - create new connections in a loop until Postgres starts respond with error. By default, an array with 1000 slots is used, so it possible to set max_connections to higher value and pass the workload with no errors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.