Highlighted
Contributor.. Contributor..
Contributor..
330 views

Non-Heap memory issue

I have run the Mbean: UCMDB:service=Supportability Services. Method: runSupportHandlersForSpecificCategories for HA in the JMX-console. Then opened the MemoryAndThreadInfo.html in the zip file. You can see from the screenshot that the number for Used Non-Heap is red, which must mean my system has an issue. What can I do to troubleshoot it and perhaps assign more memory? I tried to change the XX:MaxPermSize value in the wrapper-platform.conf file, restarted the servers, but the numbers didn't change. Br, Jacob

0 Likes
3 Replies
Highlighted
Absent Member.
Absent Member.

Re: Non-Heap memory issue

Hi,

 

I would check the jvm-statistics to see if indeed the new value took effect and if there are time frames when the non heap reaches also the new maximum.

 

Regards,

 

Diana

0 Likes
Highlighted
Contributor.. Contributor..
Contributor..

Re: Non-Heap memory issue

When I look at the jvm_statistics_log the FREE part of the NON-HEAP is still very low. Maybe it should be like this, but I cannot see that it helped changing it. As I said, the number seen from the MemoryAndThreadInfo.html page in Supportability for the HA component in the JMX-console, still show a red number. In the UCMDB Help, if you search for 'How to Access Support Using the JMX Console', it shows this text:

"Memory and Thread Count Info. Records the UCMDB memory usage and thread count in the MemoryAndThreadInfo.html file. The information is displayed in color: green, orange, and red. If the color is not green, it requires attention." That's why I started looking at the numbers.

 

The text below is take from the jvm_statistics.log file:

 

2015-09-23 10:41:00,008 INFO [pool-3-thread-1] - HEAP - [USAGE: 1476,6, FREE: 723,4, TOTAL: 2200,0, MAX: 4096,0]; NON-HEAP - [USAGE: 276,9, FREE: 5,7, MAX: -0,0]; CLASSES - [Loaded: 23116, Unloaded: 872, Left: 22244]; THREADS - [Count: 188]
2015-09-23 10:42:00,007 INFO [UCMDB - global framework scheduler] - The number of Open Connections on Jetty is: 8
2015-09-23 10:42:00,007 INFO [UCMDB - global framework scheduler] - The number of Sessions on Jetty is: 4
2015-09-23 10:42:00,007 INFO [pool-3-thread-1] - HEAP - [USAGE: 967,1, FREE: 1232,9, TOTAL: 2200,0, MAX: 4096,0]; NON-HEAP - [USAGE: 276,9, FREE: 5,7, MAX: -0,0]; CLASSES - [Loaded: 23116, Unloaded: 872, Left: 22244]; THREADS - [Count: 190]
2015-09-23 10:43:38,717 INFO [WrapperSimpleAppMain] - JVM state poller started; time-between-polls is 60 sec
2015-09-23 10:43:38,717 INFO [WrapperSimpleAppMain] - JVM Thread Dump Creator started; time-between-operations is 30 sec
2015-09-23 10:45:00,154 INFO [UCMDB - global framework scheduler] - The number of Open Connections on Jetty is: 0
2015-09-23 10:45:00,154 INFO [UCMDB - global framework scheduler] - The number of Sessions on Jetty is: 0
2015-09-23 10:45:00,154 INFO [pool-3-thread-1] - HEAP - [USAGE: 390,5, FREE: 633,5, TOTAL: 1024,0, MAX: 4096,0]; NON-HEAP - [USAGE: 121,2, FREE: 2,9, MAX: -0,0]; CLASSES - [Loaded: 14477, Unloaded: 0, Left: 14477]; THREADS - [Count: 108]
2015-09-23 10:46:00,013 INFO [pool-3-thread-1] - HEAP - [USAGE: 720,7, FREE: 303,3, TOTAL: 1024,0, MAX: 4096,0]; NON-HEAP - [USAGE: 138,8, FREE: 3,0, MAX: -0,0]; CLASSES - [Loaded: 16435, Unloaded: 0, Left: 16435]; THREADS - [Count: 132]
2015-09-23 10:46:00,013 INFO [UCMDB - global framework scheduler] - The number of Open Connections on Jetty is: 0

0 Likes
Highlighted
Visitor.

Re: Non-Heap memory issue

Hi,

 

The supportability takes the info from the logs and in this case the HA support handler takes information from jvm_statistic.log. In the log I can see the fallowing NON-HEAP - [USAGE: 138,8, FREE: 3,0, MAX: -0,0]; 

The interesting issue here is that the max is 0.

The non heap memory is allocated set up in wrapper-platform.conf by setting the value of wrapper.java.additional.31=-XX:MaxPermSize=192m (this is default value 192).

In case of HA both servers need to have same value. Also the red value means that the used value is close to the committed and alo because max is 0.

The value  needs to be changed in the wrapper-platform.conf  and server restarted. This should work (I have just tested)

Please maks sure if  multiple servers are in HA that all have the same value.

Also please make sure that setting is not also set up other part like from UCMDBServer\conf\wrapper-custom.conf or conf\settings.override.properties.

 

Thanks,

Razvan Bolocan.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.