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

Barry Scott barry.scott at onelan.com
Wed Oct 12 07:54:59 PDT 2011


On Wednesday 12 October 2011 15:27:10 Michal Schmidt wrote:
> 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.

No, not in any of our files.

What dependency is supposed to cause the swapoff to be after the production
processes are stopped?

Barry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20111012/136191ae/attachment.htm>


More information about the systemd-devel mailing list