-
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.
Merge pull request #313 from deviantony/file-limit
Added ulimit support
- Loading branch information
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 |
---|---|---|
|
@@ -116,4 +116,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 %> |