Page 1 of 1

Memory used greater than allocated RAM capacity.

Posted: Fri Nov 09, 2018 10:36 am
by technosol
mem.jpg
Hi

I have a nls 2-node cluster with 32GB RAM for each nls. As I checked, Under Admin -->Instance status, used mem has been more than 32 GB. Please see the attached screenshot.

Can you please help me to understand it?

Thank you

Re: Memory used greater than allocated RAM capacity.

Posted: Fri Nov 09, 2018 11:10 am
by mcapra
My memory may be failing me, but I'm *pretty sure* those stats are cluster-level, evaluated by hitting the _cluster/stats endpoint of the ElasticSearch API and evaluating the os section of the returned result. The measurements represent the combined resources of all nodes in the cluster.

There is also a _node/stats endpoint which does roughly the same thing, but for an individual node.

Re: Memory used greater than allocated RAM capacity.

Posted: Fri Nov 09, 2018 1:00 pm
by cdienger
Awesome memory, @mcapa!

It's making a call to _cluster/stats?human and then extracting from nodes > os > memory > total.