Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] ESMOND Tuning

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] ESMOND Tuning


Chronological Thread 
  • From: Andrew Lake <>
  • To: Szymon Trocha <>,
  • Cc: Murilo Vetter <>
  • Subject: Re: [perfsonar-user] ESMOND Tuning
  • Date: Fri, 29 Sep 2017 10:09:14 -0400
  • Ironport-phdr: 9a23:xKzVvhOQmEy9m9YZnswl6mtUPXoX/o7sNwtQ0KIMzox0LfX9rarrMEGX3/hxlliBBdydsKMUzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZPebgFLiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0vRz+s87lkRwPpiCcfNj427mfXitBrjKlGpB6tvgFzz5LIbI2QMvd1Y6HTcs4ARWdZXsheVSJBDISzYIUBDOQPIPhWoJXmqlQUsRezHxOhCfnzxjJKgHL9wK000/4mEQHDxAEtA9QOv2nOrNrrOqYZTOa7w7PLzTrdcvhb3i3y6I7VfREhuvyDQ6lwfdDXyUYxCwPIl1OdopHrMTOS0+QCqWmb7+x4WOK3l2EnsBpxriK3xscojITCm4Ebykjc+Clk3oo4Jse0RUBhbdOrDZdcrSCXOohuTs88X21lvDw2x74GtJKhYiQG1ZsqywTdZvCZdYWD/wjtW/yLIThigXJoYLK/iAi28Uin0uD8WNe73VhQoipBidbMsmoB1xPU6siZUvd9/0Gh1iiT1w3L9+1IP0M5mbDVJpI7zbM8i4AfvEXAEyPunUX5lq6WdkEq+uiy7OTnZ63rqYWaN4BpigDzKbohmtelDeQ+LAcOQ3CX+f6g27374U35XLJKg+UukqbHqpDaK98bpqm/AwBPyIYv8gu/Dyy439QChnQHKFNFeAmbj4jyJV3COvH4DfGjg1uyijdrwe7JPqH/DpnXMHfMjarhLv5B7Btn2hs2ytYX24hTAbEIaKboSF70s9qeEgU+OAy96+PuDpNl0ZEYUGTJGqvPdOvKvEWG/eUpKvPJeZQYoh78LeQo/fjjkSV/lFMALoez2p5CQXa0BPl5a2GQYnek1t4HHXYisxF4SuH23g7RGQVPbmq/CvpvrgowD5irWMKaHtig

Hi,

Did adjust some settings in /etc/cassandra/conf/cassandra-env.sh from the default? By default MAX_HEAP_SIZE will only use 1/4 of the system memory. If your host has 8GB of memory what you shared seems to indicate it is willing to use 100% of the memory which would cause exactly the behavior you are seeing. If if have lines similar to the following in  /etc/cassandra/conf/cassandra-env.sh, you should comment them out by adding a # to the beginning of the line and restart Cassandra:

MAX_HEAP_SIZE=“8G"
HEAP_NEWSIZE="2048M"

That should restore the defaults and get you to a more sensible memory usage.

Thanks,
Andy

On September 29, 2017 at 10:00:48 AM, Szymon Trocha () wrote:

W dniu 29.09.2017 o 14:31, Murilo Vetter pisze:
Hi list,

Here we are running ESMOND in our production environment and we notice that it is crashing the service a lot.
It starts once every hour. The host in that time was with 4GB of memory.

After trying to tuning Cassandra and increasing the memory of the host to 8GB, it is crashing once a day.
The size of the base is using ~100GB.

What is the recommendation size of memory to use in production environment?
In this host does not exist swap, is it necessary?

Some data below of the host:
[cqlsh 4.1.1 | Cassandra 2.0.17 | CQL spec 3.1.1 | Thrift protocol 19.39.0] ----- running with super-csv-2.4.0.jar
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
MAX_HEAP_SIZE="8G"
HEAP_NEWSIZE="2048M"
key_cache_size_in_mb: 512
file_cache_size_in_mb: 512
memtable_total_space_in_mb: 2048
commitlog_total_space_in_mb: 4096
in_memory_compaction_limit_in_mb: 256
DiskAccessMode 'auto' determined to be mmap, indexAccessMode is mmap

In the initialization of Cassandra it was appearing:
CLibrary.java (line 63) JNA not found. Native methods will be disabled.

We tryed to update to jna 3.5.1 and jna 4.5, no one works with Cassandra, it appears the follow error:
java.lang.NoClassDefFoundError: org/supercsv/prefs/CsvPreference$Builder

We tryed also to use disk_access_mode: standard, but it doesn't work too.

Does anyone have a clue to help in this problem? Any proper configuration of Cassandra in this scenario?


Hi Murilo,

I'm just curious - did you maybe run some kind of SNMP monitoring for this host? To see historical mem and cpu behaviour

Regards,
--  
Szymon Trocha

Poznań Supercomputing & Networking Center
Tel. +48 618582022 ::: http://noc.pcss.pl



Archive powered by MHonArc 2.6.19.

Top of Page