Re: cloud-usage heap

2013-07-23 Thread David Comerford
Have it fixed now. Increased -Xmx in /etc/cloud/management/tomcat6.conf and restarted services. Best regards, David Comerford Tel: +353 87 1238295 Email: davest...@gmail.com Website: http://dave.ie GPG key: http://gpg.dave.ie On 23 July 2013 03:23, Dave Dunaway

cloud-usage heap

2013-07-22 Thread David Comerford
Hi list, Anyone know where the Java heap size is defined for cloud-usage server? And is it a shared heap with cloud-management? I've got an upset usage server that wants more memory. 11:18:39,444 INFO UsageManagerImpl:232 - Starting Usage Manager 2013-07-22 11:18:39,444 INFO

Re: cloud-usage heap

2013-07-22 Thread Dean Kamali
it should be somewhere in server.xml On Mon, Jul 22, 2013 at 9:20 AM, David Comerford davest...@gmail.comwrote: Hi list, Anyone know where the Java heap size is defined for cloud-usage server? And is it a shared heap with cloud-management? I've got an upset usage server that wants more

Re: cloud-usage heap

2013-07-22 Thread Dave Dunaway
The mgmt server will get started as a webapp out of Tomcat, so you can check the /etc/cloud/management/tomcat6.conf in which you see it is set to use -Xmx1024m . The usage server is not part of tomcat and does not specify an -Xmx so it used the runtime determine value based on config and

Re: cloud-usage heap

2013-07-22 Thread David Comerford
If I understand you correctly your saying it's dynamically determined when it starts? If that's the case, why is this instance failing to start with ~13GB of memory free (including buffers/cache) Best regards, David Comerford Tel: +353 87 1238295 Email:

Re: cloud-usage heap

2013-07-22 Thread Dave Dunaway
Dynamically, only because it's not otherwise specified in the options when starting up the JVM. You can edit the script it calls (check the /etc/init.d/cloud-usage script for the actual name) and add in some -Xmx 1024mb or something and see how that works. Could also be a ulimit rather than an