16 Commits

Author SHA1 Message Date
Carlo Costino
2b76ac95d8 Adjust Celery worker memory
The Celery workers are not using as much memory as we had been anticipating, and we are also hitting our memory quota.  This adjusts them down a bit to free up a bit more.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-11-06 11:42:58 -05:00
Carlo Costino
e2956e2818 Bump production app memory to 3 GB
This changeset bumps our production app memory for the API to 3 GB available in anticipation of the shift of the job cache being managed by the application itself instead of a worker process.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-11-05 21:55:14 -05:00
Carlo Costino
5141612705 Increase Celery resources
This changeset increases the number of Celery workers available to our app in the production environment.  It also bumps the amount of memory available to them to 3G each.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-11-04 12:22:30 -05:00
Carlo Costino
7415aead54 Keep 2GB memory for now based on current usage
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-07-25 11:54:44 -04:00
Carlo Costino
49f1bc7bf1 Adjust production manifest settings
This changeset adjusts our production manifest settings to strike a balance with memory usage and app/worker instances.  We are currently running into a memory quota but would still like to increase our memory for improved app performance and stability.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-07-25 11:50:57 -04:00
Carlo Costino
213eee3c7a Increased API and worker app memory to 4GB
This changeset updates the memory available to the API app and workers to be 4 GB to improve app stability and performance.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-07-23 12:12:26 -04:00
Carlo Costino
530e437565 Increased production memory to 2 GB
This changeset increases our memory for the API app and its corresponding workers to 2 GB each.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-06-24 12:03:28 -04:00
Carlo Costino
117fa6c1af Adjust production worker memory to 1G
This changeset adjusts our worker process memory to 1G from 512MB in production. We recently saw memory-related crashes for the Celery worker processes, meaning they did not have enough available to them.  This was compounded by an ongoing platform issue with cloud.gov due to Cloud Foundry VMs operating with a Linux kernel that has a memory allocation issue.

Fixes for the Linux kernel and Cloud Foundry VMs are in flight and cloud.gov is tracking this closely, but we can help ourselves in the mean time and given the increased usage with pilot partners, it makes sense to adjust this anyway.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-15 16:16:58 -04:00
Carlo Costino
92eb3c49cf Mirror Admin REDIS_ENABLED config
This changeset adjusts the REDIS_ENABLED environment variable to match how the admin app is set up to make sure the API properly connects to the Redis service.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-01-11 11:29:04 -05:00
Steven Reilly
47d9ca12b4 switch ADMIN_BASE_URL 2023-09-15 11:19:14 -04:00
Ryan Ahearn
7ddf125807 Enable SMS in production account 2023-03-21 14:28:32 -04:00
Ryan Ahearn
439722990e Bind to sns service 2023-02-28 14:49:53 -05:00
Ryan Ahearn
f9d9a66315 Run celery beat on cloud.gov 2022-11-14 16:04:49 -05:00
Ryan Ahearn
a0ed7dd053 Rename app to avoid route collisions with 10x space 2022-11-02 11:36:54 -04:00
Ryan Ahearn
5d4dca3ecf Update manifest.yml for studio cloud.gov org 2022-11-02 08:31:02 -04:00
Ryan Ahearn
8dc0b4eb19 Move process commands from Procfile to manifest.yml 2022-10-18 11:23:40 -04:00