I was runnning into an issue where new connections were being refused and tracked it back to the ulimit -n 1024 in the rabbitmq-start script.
Is there a reason for setting that? Perhaps making it based on an ENV value with default if it's not provided would be a good alternative?