Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

reduced worker processes to 2 #1283

Merged
merged 1 commit into from Nov 1, 2017
Merged

Conversation

glassresistor
Copy link
Contributor

@glassresistor glassresistor commented Nov 1, 2017

Closes #1275 #1280

What does this do and why?

This reduces the number of celery processes to 2 from 8. This should solve or at the mimimum mediate our memory issues when creating pdfs and avoid potential future disruption.

Testing & Checks

What does this PR include?

  • new dependencies
  • migrations
  • data migrations
  • celery tasks
  • changes to environment variables or local settings
  • configuration changes for 3rd party services (Travis, Heroku, AWS, Github, etc)
  • visual or style changes

UAT and Details

After deploy check that memory decreases and watch that the queue size doesn't increase.

Its probably a good idea to increase the number of production workers to 2 from 1 so that number of workers total is only cut into half but this is likely overkill.

@glassresistor glassresistor temporarily deployed to cmr-develop-pr-1283 November 1, 2017 18:18 Inactive
@bengolder bengolder merged commit 3ac9f0f into develop Nov 1, 2017
@bengolder bengolder deleted the hotfix/reduce_worker_nodes branch November 1, 2017 20:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants