Administration #609

Limit resources of processing

Added by Alexander Blum over 3 years ago. Updated about 2 years ago.

Status:ZurückgestelltStart date:
Priority:NormalDue date:
Assignee:Christoph Scheid% Done:

50%

Category:-Estimated time:2.00 h
Target version:Repertoire 2) Testing phase II

Description

If it is possible to upgrade docker-compose version to 3, we might limit the resources with docker-compose statements:

Alternative (For further details, see Architecture):

Associated revisions

Revision 217a4bac
Added by Alexander Blum about 3 years ago

fixes #609: limits resources for processing service

History

#1 Updated by Alexander Blum over 3 years ago

  • Tracker changed from Unterstützung to Administration
  • Subject changed from Create missing VMs to Limit resources of processing
  • Description updated (diff)
  • Assignee set to Thomas Mielke
  • Target version set to 1) Testing phase I
  • Estimated time set to 10.00

#2 Updated by Alexander Blum about 3 years ago

  • Status changed from Neu to Erledigt
  • % Done changed from 0 to 100

Applied in changeset commit:c3s_ado_repertoire|217a4bac944a2d65e74f6cb9f1b5cb0324f83667.

#3 Updated by Alexander Blum about 3 years ago

  • Status changed from Erledigt to In Bearbeitung
  • Assignee changed from Thomas Mielke to Christoph Scheid

memory limit is not supported on production, maybe due to inactive cgroups https://github.com/moby/moby/issues/18420#issuecomment-212426212
is it possible, to activate cgroups?

#4 Updated by Alexander Blum about 3 years ago

  • Status changed from In Bearbeitung to Erledigt

Limiting of resources still doesn't work, although docker seems to detect the capability of the kernel now (new kernel installed, certain kernel parameters given).

But with 2 cores and 2G RAM instad of 1G there are no problems with web requests during file processing anymore.

As both CPU and RAM were not critical at any point before, the bottleneck still is not clear.

This ticket is closed, until further tests fail again.

#5 Updated by Christoph Scheid about 3 years ago

  • Status changed from Erledigt to Zurückgestellt
  • % Done changed from 100 to 50

Alexander Blum wrote:

Limiting of resources still doesn't work, although docker seems to detect the capability of the kernel now (new kernel installed, certain kernel parameters given).

But with 2 cores and 2G RAM instad of 1G there are no problems with web requests during file processing anymore.

so it works for you, now...

I wonder what stress testing will reveal...

btw do we have a ticket for stress testing?

As both CPU and RAM were not critical at any point before, the bottleneck still is not clear.

+1

This ticket is closed, until further tests fail again.

not closing, just deferring to later.

#6 Updated by Alexander Blum almost 3 years ago

  • Target version changed from 1) Testing phase I to 2) Testing phase II

#7 Updated by Alexander Blum over 2 years ago

  • Estimated time changed from 10.00 to 2.00

#8 Updated by Alexander Blum about 2 years ago

  • Target version changed from 2) Testing phase II to Repertoire 2) Testing phase II

#9 Updated by Alexander Blum about 2 years ago

  • Project changed from repertoire to collecting_society

Also available in: Atom PDF