Project

General

Profile

Actions

Task #11944

closed

Add 1 GB of RAM to accounting service instances

Added by Roberto Cirillo over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
_InfraScience Systems Engineer
Category:
System Application
Target version:
Start date:
Jun 13, 2018
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Production

Description

The accounting instances have the following (default) heap limits:

-Xms2048m -Xmx2048m

but the VM have only 2 GB of RAM.
We need decrease the memory limit in this way:

tomcat_m_min_heap_size: 512m
tomcat_m_heap_size: 1536m
Actions #1

Updated by Roberto Cirillo over 7 years ago

  • Status changed from New to In Progress

I don't know if it's better to decrease the heap size or to increase the RAM. At this moment both the instances are swapping:

accounting-service1.d4science.org
accounting-service2.d4science.org

so, what do you suggest, @andrea.dellamico@isti.cnr.it , @tommaso.piccioli@isti.cnr.it ?

Actions #2

Updated by Roberto Cirillo over 7 years ago

  • Status changed from In Progress to Feedback
  • Assignee changed from Roberto Cirillo to _InfraScience Systems Engineer
Actions #3

Updated by Andrea Dell'Amico over 7 years ago

  • It would be better adding 1 GB of RAM each, I've always seen heap memory problems with smartgears nodes with less than 2GB of RAM.
  • I also always saw problems when the min and max heap sizes differ. I don't see a reason to use different values, the services live on dedicated VMs and the applications always try to use all the available memory anyway.
  • There's also accounting-service3.d4science.org. It's registered on the load balancer, but it's down. If it's not used we should destroy and remove it from the configurations.
Actions #4

Updated by Roberto Cirillo over 7 years ago

  • Subject changed from Decrease heap size on accounting service instances to Add 1 GB of RAM to accounting service instances

OK I agree for adding 1 GB of RAM for each instance.
I don't know why accounting-service3 is down, maybe @luca.frosini@isti.cnr.it knows the reason.
FYI at this moment there is sdi.d4science.org that is running with less than 2 GB of RAM without problems for the moment.

Actions #6

Updated by Andrea Dell'Amico over 7 years ago

accounting-service3.d4science.org only had a non working tomcat, now it's on line.
@luca.frosini@isti.cnr.it we add 1 GB of RAM on each node, OK?

Actions #7

Updated by Luca Frosini over 7 years ago

yes, please

Actions #8

Updated by Andrea Dell'Amico over 7 years ago

  • Status changed from Feedback to In Progress
  • % Done changed from 0 to 10

I'm doing it, one at a time.

Actions #9

Updated by Andrea Dell'Amico over 7 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 10 to 100

Done. Now the three servers run with 3GB of RAM each.

Actions #10

Updated by Andrea Dell'Amico about 7 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)