# How to change the WORKER\_PROCESSES in the forums (tutor plugin)?

**URL:** https://discuss.openedx.org/t/how-to-change-the-worker-processes-in-the-forums-tutor-plugin/7983
**Category:** Tutor Help
**Created:** [August 2, 2022, 4:48pm UTC](https://discuss.openedx.org/t/how-to-change-the-worker-processes-in-the-forums-tutor-plugin/7983 "2022-08-02T16:48:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sbernesto](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/sbernesto/32/90_2.png) [@sbernesto](https://discuss.openedx.org/u/sbernesto)
#### Post date: [August 2, 2022, 4:48pm UTC](https://discuss.openedx.org/t/how-to-change-the-worker-processes-in-the-forums-tutor-plugin/7983/1 "2022-08-02T16:48:41Z")

</div>

Hello,

I am using the tutor version 14.0.3

I have been looking for a way to change the number of WORKER\_PROCESSES of the forum plugin, but the change is not reflected.

I did was edit the Dockerfile located at .local/share/tutor/env/plugins/forum/build/forum, adding the `ENV WORKER_PROCESSES "10"` and rebuild the image with the command `tutor images build forum`, restart the container but I still see the same 4 processes.

Is there any way to increase workers?

---

<div class="post-metadata">

### Author: ![sbernesto](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/sbernesto/32/90_2.png) [@sbernesto](https://discuss.openedx.org/u/sbernesto)
#### Post date: [August 3, 2022, 4:38pm UTC](https://discuss.openedx.org/t/how-to-change-the-worker-processes-in-the-forums-tutor-plugin/7983/2 "2022-08-03T16:38:45Z")

</div>

hi, @regis

Sorry for tagging, but any idea how to modify the workers?

---

<div class="post-metadata">

### Author: ![sbernesto](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/sbernesto/32/90_2.png) [@sbernesto](https://discuss.openedx.org/u/sbernesto)
#### Post date: [August 8, 2022, 4:57pm UTC](https://discuss.openedx.org/t/how-to-change-the-worker-processes-in-the-forums-tutor-plugin/7983/3 "2022-08-08T16:57:06Z")

</div>

Not the best solution but this is what worked for me.

As I see that the image does not generate the file with the environment variables to start the forums and be able to change the number of workers, what I did was the following:

Edit the `Dockerfile` from the forums add the line `RUN sed -i 's/4)/6)/g' ./config/unicorn_tcp.rb` under `RUN bundle install --deployment`

Replace the 6 with the number of workers we need

Then we remake the image with the command `tutor images build forum` and restart the forums `tutor local restart forum`
