# How can I change the number of gunicorn workers in Tutor

**URL:** <https://discuss.openedx.org/t/how-can-i-change-the-number-of-gunicorn-workers-in-tutor/15887>\
**Category:** Tutor Help\
**Created:** [May 14, 2025, 7:06am UTC](https://discuss.openedx.org/t/how-can-i-change-the-number-of-gunicorn-workers-in-tutor/15887 "2025-05-14T07:06:19Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![joel.edwards](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/joel.edwards/32/3193_2.png) [@joel.edwards](https://discuss.openedx.org/u/joel.edwards)\
**Post date:** [May 14, 2025, 10:07am UTC](https://discuss.openedx.org/t/how-can-i-change-the-number-of-gunicorn-workers-in-tutor/15887/4 "2025-05-14T10:07:18Z")

</div>

When I first started setting up Tutor I also had a similar issue with resources, if you have too many CPU cores then it will overload the RAM if you don’t have enough. I first tried with 8 cores and 8GB RAM but that was just getting eaten up very fast. Re-building images also had a tendency to fail. I ended up settling on 16GB RAM and 3 cores which has been rock solid since.

I haven’t actually tried this before, not sure if it’s even still a valid configuration - but maybe it helps, there’s a config you can specify the maximum workers. The default ([source](https://discuss.openedx.org/t/open-edx-high-memory-usage/4482/2)) is 4 \* the number of cores for the LMS, and 2 \* the number of cores for the CMS, meaning on a 20-core system you have 120 workers total

> <https://github.com/edx/configuration/blob/master/playbooks/roles/edxapp/defaults/main.yml#L657-L662>

---

_[View the full topic](https://discuss.openedx.org/t/how-can-i-change-the-number-of-gunicorn-workers-in-tutor/15887)._
