# Browser upgrade fails when discourse is configured to use one unicorn worker

**URL:** <https://meta.discourse.org/t/browser-upgrade-fails-when-discourse-is-configured-to-use-one-unicorn-worker/282562>\
**Category:** Bug\
**Created:** [October 17, 2023, 6:48pm UTC](https://meta.discourse.org/t/browser-upgrade-fails-when-discourse-is-configured-to-use-one-unicorn-worker/282562 "2023-10-17T18:48:47Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![RBoy](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@RBoy](https://meta.discourse.org/u/RBoy)\
**Post date:** [October 17, 2023, 6:48pm UTC](https://meta.discourse.org/t/browser-upgrade-fails-when-discourse-is-configured-to-use-one-unicorn-worker/282562/1 "2023-10-17T18:48:47Z")

</div>

Linked to the posts here where it was suggested this may be a bug.

> [@Builds taking very long time](https://meta.discourse.org/t/builds-taking-very-long-time/217001/23):
>
> This seems like a bug, especially as the system cuts down to a single unicorn temporarily very shortly afterwards. The number 2 is hardcoded, as is the number 1 for the reduction. Edit: looks like this change introduced the inconsistency [https://github.com/discourse/docker\_manager/commit/8bfea831c7b423d26d85585f9a3d7301d58e00ae](https://github.com/discourse/docker_manager/commit/8bfea831c7b423d26d85585f9a3d7301d58e00ae) I think your post (and this reply) should be a in a new thread, in the bugs category.

> [@Builds taking very long time](https://meta.discourse.org/t/builds-taking-very-long-time/217001/22):
>
> I’m also going to add more to this, I’m running a lean system (1GB ram) and a small site. It has 2 unicorn workers and between them each was taking up 30% of the memory which was causing a lot of [memory thrashing](https://meta.discourse.org/t/limiting-the-number-of-unicorns-memory-usage-and-swapping/274954), so I decided to cut down the number from 2 to 1 (which I believe can handle about 10 concurrent connections each). This made a HUGE difference and made the page loads almost instantaneous and reduced swapping by a factor of 5-10 (depending on what was being loaded). The downside that …

---

_[View the full topic](https://meta.discourse.org/t/browser-upgrade-fails-when-discourse-is-configured-to-use-one-unicorn-worker/282562)._
