On Fri, 2016-06-17 at 18:37 +0100, Patrick O'Callaghan wrote:
On Fri, 2016-06-17 at 10:25 -0700, Rick Stevens wrote:
>
> >
> > Now if only there was some way the system could have told me
> > that,
> say
> >
> > an error log where useful messages would appear rather than a lot
> of
> >
> > cryptic text that boils down to "something failed" ...
> Geeze! We should have noticed that it was "hibernation". Yeah,
> that
> writes the entire RAM out to swap. Insufficient swap will sure
> cause
> hibernation to not work.
It doesn't write the entire RAM, just what's in use, but I get it.
However I added a large swap file to bring the total up to 16GB and
it
*still* fails in the same way. And no, I'm not using more than 16GB
of
virtual memory:
$ free
total used free shared buff/cache
available
Mem: 16361232 9910132 645876 497680 5805224
5503832
Swap: 16588792 3653100 12935692
The plot thickens.
It turns out that hibernation can't used multiple swap areas, so the
only solution is to have a large enough swap partition to start with.
poc