Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust and investigate database pool settings #2377

Open
1 of 6 tasks
sandbergja opened this issue May 21, 2024 · 0 comments
Open
1 of 6 tasks

Adjust and investigate database pool settings #2377

sandbergja opened this issue May 21, 2024 · 0 comments
Labels
investigate Tickets related to work that needs investigation maintenance Ticket related to maintenance that needs to be done

Comments

@sandbergja
Copy link
Member

What maintenance needs to be done?

  • Use the RAILS_MAX_THREADS environment variable to set the pool setting.
  • Investigate the timeout setting to see if it is appropriate.

Level of urgency

  • High
  • Moderate
  • Low

Why is this maintenance needed?

We have been experiencing timeout errors (see #1566). This may be related, and even if it's not, it's good to make sure these settings are appropriate.

Acceptance criteria

  • We set the RAILS_MAX_THREADS environment variable on the boxes using princeton ansible
  • We use the RAILS_MAX_THREADS environment variable to determine the size of the database connection pool for prod, staging, and qa.
  • We investigate the timeout setting to make sure it is appropriate for our environment and postgres configuration.

Additional information

@sandbergja sandbergja added maintenance Ticket related to maintenance that needs to be done investigate Tickets related to work that needs investigation labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigate Tickets related to work that needs investigation maintenance Ticket related to maintenance that needs to be done
Projects
None yet
Development

No branches or pull requests

1 participant