| Summary: | ConnectionTimeoutError: could not obtain a connection from the pool ... all pooled connections were in use | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Gellert Kis <gekis> |
| Component: | Appliance | Assignee: | Gregg Tanzillo <gtanzill> |
| Status: | CLOSED NOTABUG | QA Contact: | Dave Johnson <dajohnso> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.6.0 | CC: | abellott, cpelland, gekis, gtanzill, jhardy, jrafanie, obarenbo |
| Target Milestone: | GA | Flags: | jrafanie:
needinfo?
(gekis) |
| Target Release: | 5.7.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: |
cfme 5.6.2.2
|
|
| Last Closed: | 2016-12-16 22:12:54 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | Bug | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Gellert Kis
2016-11-04 11:06:45 UTC
Hi Gellert, The reported error is saying that Rails waited 5 seconds for a free connection from the database connection pool to become available before failing. It's a timeout for how long it should wait for a connection. It's not checking to see how quickly the connection pool becomes fully leased out. Is there something else needed for this bug? Closing, this error message comes from Rails and describes the connection timeout. If this was closed in error, please respond and we can reopen, thanks! Is there a way to setup a connection timeout for Rails waiting for a database connection pool? You can configure the connection timeout by setting a wait_timeout in config/database.yml: https://github.com/ManageIQ/manageiq/blob/b27acf537a9b3c1249f6bcb76821db2d69ed87b2/config/database.pg.yml#L19 The default is 5 seconds. Hi Gellert, config/database.yml is a Rails configuration file that is needed before we can talk to the database so we can't really "configure" it in the UI. You need to visit each appliance to configure the database.yml. We try to limit and simplify it in initial setup in the appliance_console. |