halin icon indicating copy to clipboard operation
halin copied to clipboard

Negative total disk sizes can be reported

Open moxious opened this issue 5 years ago • 4 comments

On Movie graph when running diagnostics I get

Your page cache setting is more than 50% greater than your store on disk size. Store size=-8002, page cache 512000000 bytes (512m) Note the negative store size. (edited)

moxious avatar May 01 '19 17:05 moxious

Speculating that this is because one of the JMX metrics being used in mem.js is reporting "size on disk" and the other is reporting total bytes utilized.

moxious avatar May 01 '19 17:05 moxious

image I get similar results - using neo4j desktop on OS X

eastlondoner avatar May 04 '19 13:05 eastlondoner

@eastlondoner some of these are due to incorrect info coming back from the JMX level from Neo4j directly (Example cypher query used to generate some of this data here: https://github.com/moxious/halin/blob/47ae7fe26b1639bd222b569e2e685d4eb1d0a7ce/src/data/queries/jmx/storeSizes.js#L20) -- where a metric is calculated by halin I can fix it, where I'm getting bad data from JMX I need to raise it with the kernel team.

moxious avatar May 04 '19 18:05 moxious

:+1: sounds like a good thing to raise with the kernel team

eastlondoner avatar May 07 '19 12:05 eastlondoner