Actions
Bug #10708
open[Crunch2] crunch-run fails trying to set swappiness on ubuntu 1204 kernel
Story points:
-
Release:
Release relationship:
Auto
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.
Actions