CPU utilization is getting increased after few unauthorized connection attempts in HiveMQ

Hi Team,

We are using the HiveMQ where the 3rd parties are subscribing to few topics and publishing the data after successful authentication.

Nowadays, we are experiencing an issue, where threads are getting blocked when a client tries to make a connection with unauthorized certificates , (avg. a client tries 30 connections in a minute).

It is increasing the CPU usage and resource starvation for other clients .

As the CPU memory keeps on increasing we have to restart the system only which results in loss of data as well.

Would it be possible for you to provide a suggestion for the issue we are facing?

P.S. We tried Vertical scaling already.

1 Like

Hi @Harman

Welcome to the HiveMQ community!

To better assist you, could you please provide the following details:

  1. Which version of HiveMQ are you using?
  2. Are you using HiveMQ Enterprise or HiveMQ Community?
  3. It looks like your post is under the “HiveMQ Extensions” category. Is this issue related to a custom extension you’ve developed? If so, could you please share the extension whole project, so we can better understand the context? Otherwise, it would be helpful to move the post to the appropriate category for general HiveMQ support.

Regarding your issue, it seems that unauthorized connection attempts are causing resource exhaustion. We’d be happy to provide guidance once we have more details.

Best regards,
Dasha from The HiveMQ Team