# Worker failures from stream write contention

**URL:** <https://forum.genieacs.com/t/worker-failures-from-stream-write-contention/940>\
**Category:** Uncategorized\
**Created:** [August 7, 2020, 5:11pm UTC](https://forum.genieacs.com/t/worker-failures-from-stream-write-contention/940 "2020-08-07T17:11:12Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![spmurrayzzz](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/spmurrayzzz/32/234_2.png) [@spmurrayzzz](https://forum.genieacs.com/u/spmurrayzzz)\
**Post date:** [November 12, 2020, 2:10pm UTC](https://forum.genieacs.com/t/worker-failures-from-stream-write-contention/940/15 "2020-11-12T14:10:49Z")

</div>

We do have a small patch applied to remove a mongo privilege escalation security risk: [https://github.com/StarryInternet/genieacs/commit/e2861d63bb95cbbdcb7c0ff13135e2869b26fd3e](https://github.com/StarryInternet/genieacs/commit/e2861d63bb95cbbdcb7c0ff13135e2869b26fd3e)

We have this deployed to a shared db cluster, and as a result we dont give admin privs to applications (which you need to run that command to get hostInfo). I commented on this problem in another thread: [Remove dependency from db.hostInfo()](https://forum.genieacs.com/t/remove-dependency-from-db-hostinfo/584)

As for environment variables, these are the only ones we’re setting:

```auto
GENIEACS_CWMP_SSL_CERT
GENIEACS_CWMP_SSL_KEY
GENIEACS_UI_SSL_CERT
GENIEACS_UI_SSL_KEY
GENIEACS_MONGODB_CONNECTION_URL

```

---

_[View the full topic](https://forum.genieacs.com/t/worker-failures-from-stream-write-contention/940)._
