Thanks for the question Andreas,

Looking into this, I noticed the defaults are already 65536!

root@j:~# dpkg -s rabbitmq-server | grep Version
Version: 3.9.13-1ubuntu0.22.04.2
root@j:~# cat /proc/$(pgrep -f rabbitmq)/limits  | grep "Max open files"
Max open files            65536                65536                files

I thought wow, what a coincidence, maybe too much of a coincidence. It
turns out that this default is _already_ available in the current Jammy
version 3.9.13. Debian has set the cap via systemd service since 9 years
ago[0]!

ubuntu@ip-172-31-36-170:~$ sudo systemctl show rabbitmq-server.service 
--property=LimitNOFILE
LimitNOFILE=65536

[0] - https://salsa.debian.org/openstack-team/third-party/rabbitmq-
server/-/commit/6ced1e42f48d114edf9140ce6e04b1d6581515cd

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2060248

Title:
  MRE updates of rabbitmq-server for Jammy,Focal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/2060248/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to