Database Connection Limits vs. Hosting Bandwidth
A database connection limit controls how many sessions can be open at once. Bandwidth measures network traffic or its rate over a reporting period. A burst of small requests can exhaust database connections while using almost no bandwidth.
| Resource | What to check |
|---|---|
| Database connections | Concurrent database sessions, open connection counts and a matching “Too many connections” error. |
| Bandwidth or data transfer | Bytes transferred over the reporting period or a throughput limit, depending on the plan. Check the provider’s reporting definition. |
Identify the pressure signal
- Compare the observed error against the application and database logs. An explicit “Too many connections” message is stronger evidence than a generic 500 response.
- Review concurrent traffic and connection usage at the same timestamps. A slow query or forgotten connection can hold capacity even while request volume stays ordinary.
- Confirm the exact provider metric and whether it applies to a database user, pool or instance. Fix connection leaks, slow queries or over-sized pools before raising limits.
For example, a large file download can use substantial transfer with no database connection at all. Use a separate measure for each resource and confirm the real bottleneck after the change.
When choosing a plan, compare the published hosting resources and ask the host about database connection limits if your workload needs them.
Related guides
- How to Diagnose a Website Database Connection Error
- How Hosting Process Limits Affect Concurrent Requests
- How to Find the Correct Website Logs in Plesk
- Web Hosting Fundamentals category
Official references
Ferkesh Hosting. Last reviewed .
Thanks for your feedback!