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>
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>
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>
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>
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>
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>
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>