# Mender server 2.3.0 ignores max device limit in prod.yml

**URL:** <https://hub.mender.io/t/mender-server-2-3-0-ignores-max-device-limit-in-prod-yml/2020>\
**Category:** General Discussions\
**Created:** [June 8, 2020, 7:22am UTC](https://hub.mender.io/t/mender-server-2-3-0-ignores-max-device-limit-in-prod-yml/2020 "2020-06-08T07:22:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ks89](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/ks89/32/86_2.png) [@Ks89](https://hub.mender.io/u/Ks89)\
**Post date:** [June 8, 2020, 7:22am UTC](https://hub.mender.io/t/mender-server-2-3-0-ignores-max-device-limit-in-prod-yml/2020/1 "2020-06-08T07:22:32Z")

</div>

Following this [https://docs.mender.io/2.3/administration/production-installation#device-authentication-service-optional](https://docs.mender.io/2.3/administration/production-installation#device-authentication-service-optional) I changed DEVICEAUTH\_MAX\_DEVICES\_LIMIT\_DEFAULT.

```
    mender-device-auth:
        command: server --automigrate
        volumes:
            - ./production/keys-generated/keys/deviceauth/private.key:/etc/deviceauth/rsa/private.pem:ro
        logging:
            options:
                max-file: "10"
                max-size: "50m"
        environment:
            DEVICEAUTH_MAX_DEVICES_LIMIT_DEFAULT: 500000

```

With mender server 2.2.0 everything was ok, but after the upgrade to 2.3.0, this value seems ignored by mender. Because in the header of the front-end I see num/500 or num/1000000 as device limit and not num/500000.

Is this only a front-end issue, or is mender really ignoring DEVICEAUTH\_MAX\_DEVICES\_LIMIT\_DEFAULT value?

At the moment I removed DEVICEAUTH\_MAX\_DEVICES\_LIMIT\_DEFAULT to extend the limit to 1000000 by default and it’s ok for me, but I decided to report this to investigate a little bit.

PS: when I change this value in prod.yml should I run ./run down or a restart is enough?

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [June 8, 2020, 3:25pm UTC](https://hub.mender.io/t/mender-server-2-3-0-ignores-max-device-limit-in-prod-yml/2020/2 "2020-06-08T15:25:17Z")

</div>

Hi @Ks89 that is a known bug in 2.3 that will be fixed in the upcoming 2.4 release. [https://tracker.mender.io/browse/MEN-3352](https://tracker.mender.io/browse/MEN-3352)

Basically, that option is removed for on-prem setups.

Drew

---

<div class="post-metadata">

**Author:** ![Ks89](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/ks89/32/86_2.png) [@Ks89](https://hub.mender.io/u/Ks89)\
**Post date:** [June 8, 2020, 3:50pm UTC](https://hub.mender.io/t/mender-server-2-3-0-ignores-max-device-limit-in-prod-yml/2020/3 "2020-06-08T15:50:34Z")

</div>

ok thank you.
