Project

General

Profile

Actions

Bug #10708

open

[Crunch2] crunch-run fails trying to set swappiness on ubuntu 1204 kernel

Added by Tom Clegg over 5 years ago. Updated 12 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
12/09/2016
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

The zero value of dockerclient.HostConfig has MemorySwappiness 0, which means "set swappiness to zero". This fails on older kernels (like Ubuntu 12.04).

If MemorySwappiness -1 then docker does not try to change swappiness at all.

I suspect we really intended the -1 behavior ("leave things alone"), and the only reason we're using 0 is that we followed the "zero value means do the normal thing / don't need it, don't mention it" approach, which doesn't apply here.

source:services/crunch-run/crunchrun.go#L526

Actions #1

Updated by Tom Morris almost 5 years ago

  • Target version set to Arvados Future Sprints
Actions #2

Updated by Ward Vandewege 12 months ago

  • Target version deleted (Arvados Future Sprints)
Actions

Also available in: Atom PDF