Products
Applications
Support
Company
How To Buy
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Register
Skip main navigation (Press Enter).
Toggle navigation
Home
Communities
All Communities
Application Networking and Security
Carbon Black
Enterprise Software
Mainframe Software
Symantec Enterprise
Tanzu
VMware {code}
VMware Cloud Foundation
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Events
VMware Explore 2025
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware Cloud Foundation Events
Water Cooler
Betas
Flings
Education
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Members
VMware vSphere
View Only
Community Home
Threads
703K
Library
2.7K
Blogs
0
Events
0
Members
100K
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
Changing amount of memory HQ server can use
Simon_hyperic
Jan 30, 2008 05:35 PM
We have a server with 8gig of physical memory. The Linux OS is taking about 512 mb and i would like ...
German Laullon
Jan 30, 2008 05:48 PM
Hi Simon You can put it: server.java.opts=-XX:MaxPermSize=192m -Xmx512m -Xms512m or server.java.opts=Xmx1024m ...
excowboy
Jan 30, 2008 08:58 PM
Hi Simon > Does anyone have any suggestion on the best setting > to have with that amount ...
Simon_hyperic
Jan 31, 2008 10:28 AM
Cheers guys, We have a seperate Oracle database server, so the app server just has hyperic engine ...
Simon_hyperic
Jan 31, 2008 01:02 PM
I changed it to server.java.opts=-Xmx4096m -Xms4096m Which it took, but now it has errors: 2008-01-31 ...
German Laullon
Jan 31, 2008 05:10 PM
I think that this two configurations are the best: server.java.opts=-XX:MaxPermSize=192m -Xmx512m ...
admin
Jan 31, 2008 05:57 PM
In general, the memory settings HQ runs with by default will be fine for most installations. The ...
bclark_hyperic
Feb 05, 2008 11:11 PM
Thanks for the advice. However, how do I change this setting with the Windows version of Hyperic ...
German Laullon
Feb 05, 2008 11:45 PM
%SERVER_HOME%\conf\hq-server.conf
admin
Feb 05, 2008 11:57 PM
> However, how do I change this setting with the > Windows version of Hyperic HQ? I see ...
AnttiP_hyperic
Feb 07, 2008 10:25 AM
Haven't tested the GC tuning with HQ, but when one wants to adjust memory or other parameters on ...
1.
Changing amount of memory HQ server can use
Recommend
Simon_hyperic
Posted Jan 30, 2008 05:35 PM
Reply
Reply Privately
Options Dropdown
We have a server with 8gig of physical memory.
The Linux OS is taking about 512 mb and i would like to give hyperic server some more memory but not sure what would be the best configuration.
I would like to give it 4gig to play with ie the JVM.
It currently set at
server.java.opts=-XX:MaxPermSize=192m -Xmx512m
Does anyone have any suggestion on the best setting to have with that amount of memory I have to play with.
Cheers
Simon
2.
RE: Changing amount of memory HQ server can use
Recommend
Broadcom Employee
German Laullon
Posted Jan 30, 2008 05:48 PM
Reply
Reply Privately
Options Dropdown
Hi Simon
You can put it:
server.java.opts=-XX:MaxPermSize=192m -Xmx512m -Xms512m
or
server.java.opts=Xmx1024m -Xms1024m
3.
RE: Changing amount of memory HQ server can use
Recommend
excowboy
Posted Jan 30, 2008 08:58 PM
Reply
Reply Privately
Options Dropdown
Hi Simon
> Does anyone have any suggestion on the best setting
> to have with that amount of memory I have to play
> with.
Give HQ Memory as much as you can, but think of other services for example if you run the HQ database on the same host.
Other important parameters: number of agents (and metrics) you want to monitor, number of HQ users and what kind of services you monitor.
>
> Cheers
>
> Simon
Cheers,
Mirko
4.
RE: Changing amount of memory HQ server can use
Recommend
Simon_hyperic
Posted Jan 31, 2008 10:28 AM
Reply
Reply Privately
Options Dropdown
Cheers guys,
We have a seperate Oracle database server, so the app server just has hyperic engine to run.
So for 4gig I should be able to give it :
server.java.opts=Xmx4096m -Xms4096m ????
Also with regards to agent, I was looking at the tuning instructions, does anyone know where you change to max lather conns and database thread pool, they dont seem to be in the referenced files on the docs
Cheers
Simon
5.
RE: Changing amount of memory HQ server can use
Recommend
Simon_hyperic
Posted Jan 31, 2008 01:02 PM
Reply
Reply Privately
Options Dropdown
I changed it to server.java.opts=-Xmx4096m -Xms4096m
Which it took, but now it has errors:
2008-01-31 12:59:50,156 INFO [RMI TCP Connection(98)-127.0.0.1] [STDOUT] java.lang.OutOfMemoryError: PermGen space
Lots of PermGen space reported in log.
So does the PermGen depend on the MaxPermSize size being set.
If so would it be better to put:
"-XX:MaxPermSize=192m -Xmx4096m -Xms4096m"
Can a higher MaxPermSize be used as well?
Cheers
Simon
6.
RE: Changing amount of memory HQ server can use
Recommend
Broadcom Employee
German Laullon
Posted Jan 31, 2008 05:10 PM
Reply
Reply Privately
Options Dropdown
I think that this two configurations are the best:
server.java.opts=-XX:MaxPermSize=192m -Xmx512m -Xms512m
OR
server.java.opts=-Xmx1024m -Xms1024m
4Gb is too much memory for a Java, the gc has a lot of work and it make decrement the performance.
7.
RE: Changing amount of memory HQ server can use
Recommend
admin
Posted Jan 31, 2008 05:57 PM
Reply
Reply Privately
Options Dropdown
In general, the memory settings HQ runs with by default will be fine for most installations. The majority of memory usage is from HQ's internal caches which can be monitored via the "HQ Health" link in the administration section in 3.2.
Only in environments of 50 or more platforms should the memory settings need to be changed. In that case I'd recommend only bumping up the Xmx setting. In most cases -Xmx=1024m will be sufficient.
In either case the MaxPermSize setting is required, and should not need to be changed unless you run into Permgen errors.
-Ryan
8.
RE: Changing amount of memory HQ server can use
Recommend
bclark_hyperic
Posted Feb 05, 2008 11:11 PM
Reply
Reply Privately
Options Dropdown
Thanks for the advice.
However, how do I change this setting with the Windows version of Hyperic HQ? I see where you would do it in hq-server.sh, but I don't think this is used on Windows. I start up the server with hq-server.exe, which is not a file that I can edit.
Thanks,
Brian
9.
RE: Changing amount of memory HQ server can use
Recommend
Broadcom Employee
German Laullon
Posted Feb 05, 2008 11:45 PM
Reply
Reply Privately
Options Dropdown
%SERVER_HOME%\conf\hq-server.conf
10.
RE: Changing amount of memory HQ server can use
Recommend
admin
Posted Feb 05, 2008 11:57 PM
Reply
Reply Privately
Options Dropdown
> However, how do I change this setting with the
> Windows version of Hyperic HQ? I see where you would
> do it in hq-server.sh, but I don't think this is used
> on Windows. I start up the server with hq-server.exe,
> which is not a file that I can edit.
On Windows you can just pass the extra memory parameters to hq-server.exe when installing the service. I don't have a Windows machine handy to test, but an example would be:
hq-server.exe -i -Xmx1024m -XX:MaxPermSize=128m
-Ryan
11.
RE: Changing amount of memory HQ server can use
Recommend
AnttiP_hyperic
Posted Feb 07, 2008 10:25 AM
Reply
Reply Privately
Options Dropdown
Haven't tested the GC tuning with HQ, but when one wants to adjust memory or other parameters on JVM process, there's two good articles to read on the topic:
Tuning Garbage Collection with the 5.0 Java[tm] Virtual Machine
http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html
Java HotSpot VM Options
http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Copyright 2024. All rights reserved.
Powered by Higher Logic