hivemq / hivemq-community-edition

HiveMQ CE is a Java-based open source MQTT broker that fully supports MQTT 3.x and MQTT 5. It is the foundation of the HiveMQ Enterprise Connectivity and Messaging Platform
https://www.hivemq.com
Apache License 2.0
1.06k stars 264 forks source link

Can i work with cpu's < 4 ? #415

Open alexworkgit opened 1 year ago

alexworkgit commented 1 year ago

I try retrive subscriptionStore.iterateAllSubscriptions but catch exception with null on server with one cpu. But server with four cpu's all good. Can i turn some java/hivemq options for normaly run on 1 cpu ?

pglombardo commented 1 year ago

Hi @alexworkgit - to be sure could you post the stack trace of the exception? I'll pull in the team to take a look.

alexworkgit commented 1 year ago

Hi @alexworkgit - to be sure could you post the stack trace of the exception? I'll pull in the team to take a look.

No output exception of server, blocking function subscriptionStore.iterateAllSubscriptions simply freeze or non blocking wraped in my try block return exception with null message.

alexworkgit commented 1 year ago

Maybe simple add error for 4 cpu and stop start of daemon ?

alexworkgit commented 5 months ago

@pglombardo Can configure hivemq work with cpu < 4 ?

pglombardo commented 5 months ago

@pglombardo Can configure hivemq work with cpu < 4 ?

Unfortunately not per the minimum hardware requirements.

If you need to run a broker on smaller or even embedded hardware, HiveMQ Edge has a much smaller footprint. It's purpose varies somewhat but it might be of use depending on your setup:

HiveMQ Edge is an MQTT broker, MQTT-SN gateway and modular industrial protocol converter that is designed to run on constrained/embedded hardware.