# Unicorn.conf.rb attach account

**URL:** https://meta.discourse.org/t/unicorn-conf-rb-attach-account/54643
**Category:** Self-hosting
**Created:** [22 december 2016 om 11:06 UTC](https://meta.discourse.org/t/unicorn-conf-rb-attach-account/54643 "2016-12-22T11:06:11Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Hotfirenet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hotfirenet/32/120124_2.png) [@Hotfirenet](https://meta.discourse.org/u/Hotfirenet)
#### Post date: [22 december 2016 om 11:06 UTC](https://meta.discourse.org/t/unicorn-conf-rb-attach-account/54643/1 "2016-12-22T11:06:11Z")

</div>

Hello,

Why the processes are attached to my personal account ?

```plaintext
johan 123738 0.0 0.2 41852 4488 ? S déc.21 0:22 /bin/bash config/unicorn_launcher -E production -c config/unicorn.conf.rb
johan 123756 0.0 7.1 434420 147132 ? Sl déc.21 1:13 unicorn master -E production -c config/unicorn.conf.rb                                              
johan 123800 0.4 16.0 1773016 329072 ? Sl déc.21 5:53 sidekiq 4.1.2 discourse [0 of 5 busy]                                                               
johan 123841 0.1 14.2 1658924 290712 ? Sl déc.21 2:22 unicorn worker[0] -E production -c config/unicorn.conf.rb                                           
johan 123872 0.1 14.0 1651756 287492 ? Sl déc.21 2:24 unicorn worker[1] -E production -c config/unicorn.conf.rb                                           
johan 123916 0.1 13.9 1648680 285884 ? Sl déc.21 2:16 unicorn worker[2] -E production -c config/unicorn.conf.rb                                           
johan 123998 0.2 17.0 1717432 349280 ? Sl déc.21 2:57 unicorn worker[3] -E production -c config/unicorn.conf.rb                                           
johan 41871 0.0 0.1 27876 3316 ? S 11:59 0:00 sleep 1

```

Thanks

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [22 december 2016 om 12:38 UTC](https://meta.discourse.org/t/unicorn-conf-rb-attach-account/54643/2 "2016-12-22T12:38:57Z")

</div>

Are you looking from outside docker? To see the correct user of process you need to enter the docker container first.

---

<div class="post-metadata">

### Author: ![Hotfirenet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hotfirenet/32/120124_2.png) [@Hotfirenet](https://meta.discourse.org/u/Hotfirenet)
#### Post date: [22 december 2016 om 12:55 UTC](https://meta.discourse.org/t/unicorn-conf-rb-attach-account/54643/3 "2016-12-22T12:55:15Z")

</div>

Yes it’s outside docker, i dont understand why this processes are started with my account.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [22 december 2016 om 14:05 UTC](https://meta.discourse.org/t/unicorn-conf-rb-attach-account/54643/4 "2016-12-22T14:05:36Z")

</div>

> [@Hotfirenet](#):
>
> , i dont understand why this processes are started with my account.

They aren’t, it’s an artifact of user id inside the container being used outside it. Go inside the container and run `top` again.

---

<div class="post-metadata">

### Author: ![Hotfirenet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hotfirenet/32/120124_2.png) [@Hotfirenet](https://meta.discourse.org/u/Hotfirenet)
#### Post date: [23 december 2016 om 09:42 UTC](https://meta.discourse.org/t/unicorn-conf-rb-attach-account/54643/5 "2016-12-23T09:42:35Z")

</div>

Hello @Falco,  
Inside the container it’s the discourse user.

```plaintext
discour+ 117 73 0 Dec21 ? 00:11:19 sidekiq 4.1.2 discourse [0 of 5 busy]
discour+ 158 73 0 Dec21 ? 00:04:39 unicorn worker[0] -E production -c config/unicorn.conf.rb
discour+ 189 73 0 Dec21 ? 00:04:48 unicorn worker[1] -E production -c config/unicorn.conf.rb
discour+ 233 73 0 Dec21 ? 00:04:35 unicorn worker[2] -E production -c config/unicorn.conf.rb
discour+ 315 73 0 Dec21 ? 00:05:47 unicorn worker[3] -E production -c config/unicorn.conf.rb

```

What do I must understand ?  
Thanks

---

<div class="post-metadata">

### Author: ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)
#### Post date: [24 december 2016 om 03:38 UTC](https://meta.discourse.org/t/unicorn-conf-rb-attach-account/54643/6 "2016-12-24T03:38:37Z")

</div>

It is a quirk of how containers (Docker) work on Linux. You can think of the container as being a second system running. From outside the container, processes can be seen, but the metadata like account names is not visible. In your case the inside user id (UID) matches your outside UID, so tools like `ps`, `top`, etc guess that it is yours.

---

<div class="post-metadata">

### Author: ![Hotfirenet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hotfirenet/32/120124_2.png) [@Hotfirenet](https://meta.discourse.org/u/Hotfirenet)
#### Post date: [5 januari 2017 om 07:18 UTC](https://meta.discourse.org/t/unicorn-conf-rb-attach-account/54643/7 "2017-01-05T07:18:40Z")

</div>

Ok Thank’s you …

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [17 april 2019 om 05:30 UTC](https://meta.discourse.org/t/unicorn-conf-rb-attach-account/54643/8 "2019-04-17T05:30:35Z")

</div>



---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [24 april 2019 om 17:29 UTC](https://meta.discourse.org/t/unicorn-conf-rb-attach-account/54643/9 "2019-04-24T17:29:42Z")

</div>


