[systemd-devel] Seeking Advice on debugging failure to reboot

Michal Schmidt mschmidt at redhat.com
Wed Oct 12 07:27:10 PDT 2011


On 10/12/2011 03:46 PM, Barry Scott wrote:
> Thanks to Michal's observation that swapoff failed we have now found the
> root cause.
>
> swapoff is called while all our production processes are still running.
>
> We would have expected systemd to turn off swap after stopping most if not
> all processes and thus freeing up as much memory as possible. swapoff fails
> becuase there is not enough ram available to load the pages from swap into.
>
> Is this a systemd problem or an issue with the way we wrote our services
> and targets?

Do you use "DefaultDependencies=false" in any of your service unit 
files? That could explain the missing ordering.

Michal


More information about the systemd-devel mailing list