-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ulimit support for RabbitMQ which was restricted to 4096 file d…
…escriptors.
- Loading branch information
1 parent
50b9eb3
commit 741aa81
Showing
4 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,4 +114,5 @@ | |
$environment_variables = {} | ||
$config_variables = {} | ||
$config_kernel_variables = {} | ||
$file_limit = 16384 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# File managed by Puppet. | ||
|
||
# This file is sourced by /etc/init.d/rabbitmq-server. Its primary | ||
# reason for existing is to allow adjustment of system limits for the | ||
# rabbitmq-server process. | ||
# | ||
# Maximum number of open file handles. This will need to be increased | ||
# to handle many simultaneous connections. Refer to the system | ||
# documentation for ulimit (in man bash) for more information. | ||
ulimit -n <%= @file_limit %> |