Thanks Michal it worked.

On Thu, 8 Jul 2021, 21:35 Michal Koutný, <mkou...@suse.com> wrote:

> Hello Debraj.
>
> On Thu, Jul 08, 2021 at 05:10:44PM +0530, Debraj Manna <
> subharaj.ma...@gmail.com> wrote:
> > >> Linux vrni-platform 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14
> 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
> > [...]
> > GRUB_CMDLINE_LINUX="audit=1 rootdelay=180 nousb net.ifnames=0
> biosdevname=0
> > fsck.mode=force fsck.repair=yes ipv6.disable=1
> > systemd.unified_cgroup_hierarchy=1"
> >
> > Even after making these changes MemorySwapMax not taking into effect.
>
> You need to add also swapaccount=1, swap accounting is enabled by
> default only since kernel v5.8.
>
> HTH,
> Michal
>
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to