Project

General

Profile

bug #8682

cdm-server debian packages configured for jemalloc

Added by Andreas Kohlbecker 12 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Priority12
Category:
cdmserver
Target version:
Start date:
06/30/2015
Due date:
% Done:

100%

Severity:
normal
Found in Version:

Description

in order to save native memory it is highly recommended to run the cdm-server with jemalloc instead of the system default library malloc #5048

The debian packages should have a dependency to jemalloc and the environment variable should be set in /etc/default/cdmserver or in the init script


Related issues

Related to Edit - feature request #3683: add /etc/default/cdmserver to debian package Closed 10/30/2013
Copied from Edit - bug #5048: cdm-server causes unusual high native memory consumption for jvm Closed 06/30/2015

Associated revisions

Revision bc305078 (diff)
Added by Andreas Kohlbecker 4 months ago

fix #8682 adding libjemalloc as package dependency and setting LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1 in init script

History

#1 Updated by Andreas Kohlbecker 12 months ago

  • Copied from bug #5048: cdm-server causes unusual high native memory consumption for jvm added

#2 Updated by Andreas Kohlbecker 12 months ago

#3 Updated by Andreas Kohlbecker 10 months ago

  • Target version changed from Release 5.12 to Release 5.13

#4 Updated by Andreas Kohlbecker 8 months ago

  • Target version changed from Release 5.13 to Release 5.14

#5 Updated by Andreas Müller 7 months ago

  • Target version changed from Release 5.14 to Release 5.15

#6 Updated by Andreas Kohlbecker 4 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#7 Updated by Andreas Kohlbecker 4 months ago

  • Description updated (diff)
  • % Done changed from 50 to 40

mainly solved!

Remaining task: adapt cdm-server documentation

After the release all LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1 lines are to be removed from the /etc/default/cdmserver scripts

#8 Updated by Andreas Kohlbecker 4 months ago

can be closed if

  1. there are no problems on the test or int server
  2. all LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1 lines are to be removed from the /etc/default/cdmserver scripts

#9 Updated by Andreas Kohlbecker 4 months ago

Andreas Kohlbecker wrote:

can be closed if

  1. there are no problems on the test or int server
  2. all LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1 lines are to be removed from the /etc/default/cdmserver scripts

There is no significant change in the memory consumption of the cdm-server on edit-test and edit-int so everything works as expected.

Point 2. must be done on the following servers AFTER THE RELEASE:

  • edit-production
  • edit-demo1
  • edit-demo2

#10 Updated by Andreas Kohlbecker 4 months ago

  • % Done changed from 40 to 90

#11 Updated by Andreas Kohlbecker 4 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 90 to 100

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1 removed from all servers

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)