Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-2373

Increase open file descriptor limits for RabbitMQ server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • GFac
    • None

    Description

      Ran into a problem on gw56 where GFac wasn't able to make a connection to RabbitMQ because RabbitMQ hit the open file descriptor limit of 1024.

      Using http://clouddoc.stratus.com/1.5.1.0/en-us/Content/Help/P03_Support/C02_InstallGuide/C05_OpenStackInstall/T_RabbitMQLimits.htm as a guide I created a file called /etc/default/rabbitmq-server on gw56 with the following contents:

      ulimit -n 65536
      

      Then I restarted RabbitMQ. I verified the new limit:

      [root@gw56 ~]# grep -e Limit -e files /proc/$(cat /var/run/rabbitmq/pid)/limits
      Limit                     Soft Limit           Hard Limit           Units     
      Max open files            65536                65536                files     
      

      Then I restarted GFac and it was able to connect to the process_launch queue again.

      It would be good to research if this is the best way to increase open file limits and then get it into the Ansible scripts.

      Attachments

        Activity

          People

            marcuschristie Marcus Christie
            marcuschristie Marcus Christie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: