This is no longer an issue post-xenial, since we now default to swap files. For xenial, a low-touch solution might be to just cap the minimum swap size at 2G, as per this attached patch.
This is no longer an issue post-xenial, since we now default to swap files.
For xenial, a low-touch solution might be to just cap the minimum swap size at 2G, as per this attached patch.