You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Kirk Lund (JIRA)" <ji...@apache.org> on 2019/01/08 00:07:00 UTC
[jira] [Assigned] (GEODE-6253) Sampling of VM stats generates fatal
log message and skips remaining stats in sample
[ https://issues.apache.org/jira/browse/GEODE-6253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kirk Lund reassigned GEODE-6253:
--------------------------------
Assignee: Kirk Lund
> Sampling of VM stats generates fatal log message and skips remaining stats in sample
> ------------------------------------------------------------------------------------
>
> Key: GEODE-6253
> URL: https://issues.apache.org/jira/browse/GEODE-6253
> Project: Geode
> Issue Type: Bug
> Components: statistics
> Reporter: Kirk Lund
> Assignee: Kirk Lund
> Priority: Major
>
> I've seen several bugs filed for this and then fixed by using addIgnoredException.
> Unfortunately, this means that quite a few stats that are refreshed after line 624 of VMStats50 are not refreshed. Also it seems silly to keep adding addIgnoredException to lots of tests.
> I think the product code should be changed to catch this and workaround it (skip the sample and move on to the next stats). At most, this should be a `warning` or `info` level statement:
> {noformat}
> [fatal 2018/11/12 19:50:18.909 UTC <StatSampler> tid=15055] committed = 538968064 should be < max = 536870912
> java.lang.IllegalArgumentException: committed = 538968064 should be < max = 536870912
> at java.management/java.lang.management.MemoryUsage.<init>(MemoryUsage.java:166)
> at java.management/sun.management.MemoryImpl.getMemoryUsage0(Native Method)
> at java.management/sun.management.MemoryImpl.getHeapMemoryUsage(MemoryImpl.java:71)
> at org.apache.geode.internal.stats50.VMStats50.refresh(VMStats50.java:624)
> at org.apache.geode.internal.statistics.HostStatSampler.sampleSpecialStats(HostStatSampler.java:542)
> at org.apache.geode.internal.statistics.HostStatSampler.run(HostStatSampler.java:215)
> at java.base/java.lang.Thread.run(Thread.java:834)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)