You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2022/09/29 08:24:01 UTC
[cloudstack-documentation] branch main updated: update tuning directives (#288)
This is an automated email from the ASF dual-hosted git repository.
dahn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack-documentation.git
The following commit(s) were added to refs/heads/main by this push:
new e8466d4 update tuning directives (#288)
e8466d4 is described below
commit e8466d4b274e3a4a23bca7c27ddcda101f7cbf36
Author: dahn <da...@onecht.net>
AuthorDate: Thu Sep 29 10:23:55 2022 +0200
update tuning directives (#288)
---
source/adminguide/tuning.rst | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/source/adminguide/tuning.rst b/source/adminguide/tuning.rst
index cee12d5..c5b0115 100644
--- a/source/adminguide/tuning.rst
+++ b/source/adminguide/tuning.rst
@@ -36,22 +36,22 @@ Increase Management Server Maximum Memory
If the Management Server is subject to high demand, the default maximum
JVM memory allocation can be insufficient. To increase the memory:
-#. Edit the Tomcat configuration file:
+#. Edit the cloudstack-management.service configuration file at:
.. code:: bash
- /etc/cloudstack/management/tomcat6.conf
+ /etc/default/cloudstack-management
-#. Change the command-line parameter -XmxNNNm to a higher value of N.
+#. Change the command-line parameter from -XmxVVV to replace the VVV with an higher value.
- For example, if the current value is -Xmx128m, change it to -Xmx1024m
- or higher.
+ For example, if the current is the default value is -Xmx2G, change it to -Xmx12G
+ or another applicable value. Make sure not to go over about 2/3rd of the actual physical memory of the machine.
#. To put the new setting into effect, restart the Management Server.
.. code:: bash
- # service cloudstack-management restart
+ # systemctl restart cloudstack-management
For more information about memory issues, see "FAQ: Memory" at `Tomcat
Wiki. <http://wiki.apache.org/tomcat/FAQ/Memory>`_