[ 
https://issues.apache.org/jira/browse/AIRAVATA-2373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15982834#comment-15982834
 ] 

Marcus Christie commented on AIRAVATA-2373:
-------------------------------------------

Also, can we add a Zabbix alert for this?  And can we add it as part of the 
Ansible scripts?

> Increase open file descriptor limits for RabbitMQ server
> --------------------------------------------------------
>
>                 Key: AIRAVATA-2373
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2373
>             Project: Airavata
>          Issue Type: Bug
>          Components: GFac
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>
> 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:
> {noformat}
> ulimit -n 65536
> {noformat}
> Then I restarted RabbitMQ.  I verified the new limit:
> {noformat}
> [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     
> {noformat}
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to