Re: Garbage Collector issue on NNMi9.20. (1334 Views)
Reply
Regular Advisor
Roberto_33
Posts: 126
Registered: ‎11-13-2002
Message 1 of 8 (1,355 Views)

Garbage Collector issue on NNMi9.20.

Hi,

 

I've upgraded with success from NNMi 9.11 to NNM9.20 two systems with Application Failover. Platform is RH5.5. Then, in the Incident Browser I can see NNMi Health Critical Event with the following explanation :

"The average garbage collection pause of 53,00 seconds for the 'PS MarkSweep' collector is above the recommended maximum of 10 seconds."

The collection pause is variable and can grow over 90,00 seconds!

Could somebody know this error please?

 

Thanks in advance.

 

Bye.

Roberto

Honored Contributor
LindsayHill
Posts: 742
Registered: ‎11-16-2011
Message 2 of 8 (1,349 Views)

Re: Garbage Collector issue on NNMi9.20.

I would suspect that memory is your problem. GC is probably running too frequently.

 

Check how much memory the box has, and that you've configured the NNMi heap size appropriately.

CCIE 36708 | @northlandboy | lkhill.com
Regular Advisor
Roberto_33
Posts: 126
Registered: ‎11-13-2002
Message 3 of 8 (1,334 Views)

Re: Garbage Collector issue on NNMi9.20.

Hi,

 

trying to modify Maximum Java Heap Size -Xmx to 2g (from 10g) and now it's working.

 

Thanks.

Regular Advisor
Ad1t1a99
Posts: 154
Registered: ‎12-05-2012
Message 4 of 8 (1,154 Views)

Re: Garbage Collector issue on NNMi9.20.

Hi,

 

How should be that appropriation done?  As per Support Matrix, I should have Java heap size as 8gb, its there. But still I am getting the same issue again and again.

 

 

Regards,

Aditi

Honored Contributor
LindsayHill
Posts: 742
Registered: ‎11-16-2011
Message 5 of 8 (1,150 Views)

Re: Garbage Collector issue on NNMi9.20.

You may need to increase your sizings beyond the Support Matrix, depending on what your system is doing. Does the box have plenty of available memory? Can you see it using up to the allocated limits?
CCIE 36708 | @northlandboy | lkhill.com
Regular Advisor
Ad1t1a99
Posts: 154
Registered: ‎12-05-2012
Message 6 of 8 (1,143 Views)

Re: Garbage Collector issue on NNMi9.20.

No, we don't have a lot of unused memory.

 

To add to it, current Java heap memory is more than the usused memory. So I may have to decrease that.

 

 

So, how should I decide of the trade-offs?

Honored Contributor
LindsayHill
Posts: 742
Registered: ‎11-16-2011
Message 7 of 8 (1,138 Views)

Re: Garbage Collector issue on NNMi9.20.

No easy answers here - basically if you don't allocate more memory, you're probably going to keep getting those errors.

 

I'm not sure, but you _might_ get some performance improvements if you look at your interface and node groups, and look at what you're monitoring -e.g. can you reduce some of the polling load? 

CCIE 36708 | @northlandboy | lkhill.com
Regular Advisor
Ad1t1a99
Posts: 154
Registered: ‎12-05-2012
Message 8 of 8 (1,135 Views)

Re: Garbage Collector issue on NNMi9.20.

I understand your point. Thanks for help.

 

Regards,

Aditi

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.