Re: Memory usage more than heap memory

2020-04-11 Thread Erick Ramirez
> > I observe long running nodes have high non heap memory footprint then a > recently started node. That is the reason I am interested in find non heap > memory usage by Cassandra node. What could be the reason of high non heap > memory footprint in long running cluster? > Memory utilisation

Re: Memory usage more than heap memory

2020-04-11 Thread HImanshu Sharma
I observe long running nodes have high non heap memory footprint then a recently started node. That is the reason I am interested in find non heap memory usage by Cassandra node. What could be the reason of high non heap memory footprint in long running cluster? Regards Himanshu On Sat, Apr 11,

Re: Memory usage more than heap memory

2020-04-11 Thread Pekka Enberg
Hi Himanshu, On Sat, Apr 11, 2020 at 8:47 PM HImanshu Sharma wrote: > I am not worried about page cache. I want to monitor memory pressure, I want > to check that if heap+non heap usage goes above certain level then I can take > certain action. But due to this page cache thing, I am not sure

Re: Memory usage more than heap memory

2020-04-11 Thread Michael Shuler
Nodetool isn't really meant for monitoring usage. There are a number of existing tools to grab and track jvm heap usage. Enable JMX and pull the info into something custom, or using a grafana template, for instance, which usually uses JMX internally. ie. this one graphs heap usage

Re: Memory usage more than heap memory

2020-04-11 Thread Michael Shuler
For some simple and helpful explanations of the behavior you are observing, some ideas on what to look for in monitoring, as well as some interesting experiments on the "play" page (last link), have a look at https://www.linuxatemyram.com/ - this is general linux memory behavior and not unique

Re: Memory usage more than heap memory

2020-04-11 Thread HImanshu Sharma
Hi I am not worried about page cache. I want to monitor memory pressure, I want to check that if heap+non heap usage goes above certain level then I can take certain action. But due to this page cache thing, I am not sure how to find actual memory usage( heap and off heap). Heap will not be more

Re: Memory usage more than heap memory

2020-04-11 Thread Laxmikant Upadhyay
Hi, You can read section 'OS Page Cache Usage' on http://cassandra.apache.org/doc/latest/troubleshooting/use_tools.html Also, don't worry about memory usage (page cache) not decreasing even if no traffic ...it will come down when required (for example: a new application needs it when boot up).

Re: Memory usage more than heap memory

2020-04-11 Thread HImanshu Sharma
Hi I am observing memory usage in top command, but there in RSS it is showing 18G ( which I think is sum of used memo + page cache). I want to know how to find how much used by Cassandra process and how much of it is in page cache. I want this information because I want to check memory usage for

Re: Memory usage more than heap memory

2020-04-11 Thread Nitan Kainth
You can look at top command. There is column of memory Regards, Nitan Cell: 510 449 9629 > On Apr 11, 2020, at 11:10 AM, HImanshu Sharma > wrote: > >  > Hi > > But I see memory not decreasing even if there is no traffic on cluster. How > can I find actual memory usage by Cassandra

Re: Memory usage more than heap memory

2020-04-11 Thread HImanshu Sharma
Hi But I see memory not decreasing even if there is no traffic on cluster. How can I find actual memory usage by Cassandra process. If it is OS page cache then how to find how much is page cache and how much is used by process? Thanks Himanshu On Sat, Apr 11, 2020 at 9:07 PM Laxmikant

Re: Memory usage more than heap memory

2020-04-11 Thread Laxmikant Upadhyay
It is OS page cache used during read..your os will leverage memory if not being used by any other applications and it improves your read performance. On Sat, Apr 11, 2020, 12:47 PM HImanshu Sharma wrote: > Hi > > I am very new to the use of cassandra. In a cassandra cluster of 3 nodes, > I am

Memory usage more than heap memory

2020-04-11 Thread HImanshu Sharma
Hi I am very new to the use of cassandra. In a cassandra cluster of 3 nodes, I am observing memory usage of cassandra process going more than the heap memor allocated. As I understand, cassandra allocates off heap memory for bloom filters, index summary etc. When I run nodetool info, I see off