[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH v11 11/20] ts-openstack-deploy: Increase fd and memory limits for rabbitmq
Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx> --- ts-openstack-deploy | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/ts-openstack-deploy b/ts-openstack-deploy index 2107760..04317a0 100755 --- a/ts-openstack-deploy +++ b/ts-openstack-deploy @@ -130,6 +130,20 @@ END osstest ALL=(ALL) NOPASSWD:ALL Defaults:osstest env_keep += "CURL_CA_BUNDLE" END + + # Increase some limits of rabbit server (message broker) + target_cmd_root($ho, <<END); + set -e + mkdir -p /etc/rabbitmq +END + target_putfilecontents_root_stash($ho, 100, + <<END, "/etc/default/rabbitmq-server"); +ulimit -n 65536 +END + target_putfilecontents_root_stash($ho, 100, + <<END, "/etc/rabbitmq/rabbitmq.config"); +[{rabbit, [{vm_memory_high_watermark, 0.8}]}]. +END } sub deploy() { -- Anthony PERARD _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |