[Suggestion] A limit on the number of internal database users that can be created (by accident) #14234
-
RabbitMQ series4.0.x Operating system (distribution) usedDebian 9 How is RabbitMQ deployed?Community Docker image What would you like to suggest for a future version of RabbitMQ?We have a RabbitMQ instance that is used by many services. In the documentation users are described as a "cheap" resource, but in practice, when 500,000+ users are created the RabbitMQ management API starts returning 5xx when trying to perform any operation that has to do with user management. Right now, our only solution is to write a script that deletes users one by one using the Any of the following features would be a great help:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
@ohasi options 1 and 3 are guaranteed to backfire. We cannot save users with automation tools from themselves. Yes, there are virtual host limits but they limit access to a very different kind of resources:
I am not against having a limit on the number of users but the whole situation is a bit silly. Deployment automation can create 500K stray users in your org? That sounds highly unusual. Perhaps try switching to JWT tokens, a custom HTTP authentication service plus the caching backend, or LDAP. They all offload the "too many internal database users" problem to external tools. |
Beta Was this translation helpful? Give feedback.
In a dev / test environment,
rm -rf /var/lib/rabbitmq/*
(i.e. nuking the data on each node) should be acceptable. Just a suggestion.