rabbitmqctl set_vhost_limits: too may arguments

Hi,

I’m trying to increase the vhost connection limits with the command rabbitmqctl set_vhost_limits –p vNext_JDH ‘{“max-connections”: 256}’ but I get the error message that there are too many arguments. The command is documented on the RabbitMQ site and everything looks fine to me. I also tried it with –vhost argument but I get the same error message.

This is the full command and error message:

D:\Program Files\RabbitMQ Server\rabbitmq_server-3.11.10\sbin>rabbitmqctl set_vhost_limits –p vNext_JDH ‘{“max-connections”: 256}’
Error (argument validation): Invalid options for this command:
–p :
Arguments given:
        set_vhost_limits –p vNext_JDH ‘{max-connections: 256}’

[1mUsage [0m

rabbitmqctl [–node <node>] [–longnames] [–quiet] set_vhost_limits [–vhost <vhost>] <definition>

Kind Regards,
Michael

Read more here: Source link