cloudstack/docs/tmp/en-US/html/increase-management-server-max-memory.html

16 lines
3.1 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>21.2. Increase Management Server Maximum Memory</title><link rel="stylesheet" type="text/css" href="Common_Content/css/default.css" /><link rel="stylesheet" media="print" href="Common_Content/css/print.css" type="text/css" /><meta name="generator" content="publican 2.8" /><meta name="package" content="Apache_CloudStack-Admin_Guide-4.0.0-incubating-en-US-1-" /><link rel="home" href="index.html" title="CloudStack Administrator's Guide" /><link rel="up" href="tuning.html" title="Chapter 21. Tuning" /><link rel="prev" href="performance-monitoring.html" title="21.1. Performance Monitoring" /><link rel="next" href="set-database-buffer-pool-size.html" title="21.3. Set Database Buffer Pool Size" /></head><body><p id="title"><a class="left" href="http://cloudstack.org"><img src="Common_Content/images/image_left.png" alt="Product Site" /></a><a class="right" href="http://docs.cloudstack.org"><img src="Common_Content/images/image_right.png" alt="Documentation Site" /></a></p><ul class="docnav"><li class="previous"><a accesskey="p" href="performance-monitoring.html"><strong>Prev</strong></a></li><li class="next"><a accesskey="n" href="set-database-buffer-pool-size.html"><strong>Next</strong></a></li></ul><div xml:lang="en-US" class="section" id="increase-management-server-max-memory" lang="en-US"><div class="titlepage"><div><div><h2 class="title" id="increase-management-server-max-memory">21.2. Increase Management Server Maximum Memory</h2></div></div></div><div class="para">
If the Management Server is subject to high demand, the default maximum JVM memory allocation can be insufficient. To increase the memory:
</div><div class="orderedlist"><ol><li class="listitem"><div class="para">
Edit the Tomcat configuration file:
</div><pre class="programlisting">/etc/cloud/management/tomcat6.conf</pre></li><li class="listitem"><div class="para">
Change the command-line parameter -XmxNNNm to a higher value of N.
</div><div class="para">
For example, if the current value is -Xmx128m, change it to -Xmx1024m or higher.
</div></li><li class="listitem"><div class="para">
To put the new setting into effect, restart the Management Server.
</div><pre class="programlisting"># service cloud-management restart</pre></li></ol></div><div class="para">
For more information about memory issues, see "FAQ: Memory" at <a href="http://wiki.apache.org/tomcat/FAQ/Memory">Tomcat Wiki.</a>
</div></div><ul class="docnav"><li class="previous"><a accesskey="p" href="performance-monitoring.html"><strong>Prev</strong>21.1. Performance Monitoring</a></li><li class="up"><a accesskey="u" href="#"><strong>Up</strong></a></li><li class="home"><a accesskey="h" href="index.html"><strong>Home</strong></a></li><li class="next"><a accesskey="n" href="set-database-buffer-pool-size.html"><strong>Next</strong>21.3. Set Database Buffer Pool Size</a></li></ul></body></html>