# ワーカープロセスが定義を超えていますか？

**URL:** <https://meta.discourse.org/t/worker-process-is-more-than-defined/113230>\
**Category:** Self-hosting\
**Tags:** unsupported-install, hosting\
**Created:** [2019 年 4 月 2 日午後 1:57 UTC](https://meta.discourse.org/t/worker-process-is-more-than-defined/113230 "2019-04-02T13:57:51Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Vencent](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vencent/32/120037_2.png) [@Vencent](https://meta.discourse.org/u/Vencent)\
**Post date:** [2019 年 4 月 2 日午後 1:57 UTC](https://meta.discourse.org/t/worker-process-is-more-than-defined/113230/1 "2019-04-02T13:57:51Z")

</div>

discourse\_docker を使って Docker イメージを生成し、それを Kubernetes にデプロイしています。`container/web_only.yml` には以下のように設定しています。

```yaml
env:
  UNICORN_WORKERS: 2

```

しかし、コンテナ内で `top` を実行すると、4 つのワーカーが表示されます。

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/c/6c3b0391039b32ba0de4599c27d287c8b2ce1dbd.png)

これは制御が効いていないのでしょうか、それとも何か見落としているのでしょうか？

---

_[View the full topic](https://meta.discourse.org/t/worker-process-is-more-than-defined/113230)._
