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
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel