Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #199346

Re: Swap priority in Debian

From Dekks Herton <dekkzz78@gmail.com>
Newsgroups linux.debian.user
Subject Re: Swap priority in Debian
Date 2018-08-25 09:50 +0200
Message-ID <wqBux-2Hl-1@gated-at.bofh.it> (permalink)
References <wqydj-Ux-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Subhadip Ghosh <subhadip.sky@gmail.com> writes:

> Hi,
>
> I am a Debian testing user. Recently I am experiencing freezing on my
> Debian system intermittently and during troubleshooting the same, I
> found out that the I have a swap partition with priority set to
> -2. But according to the below manpage:
>
> https://manpages.debian.org/stretch/mount/swapon.8.en.html
>
> swap priority should be between -1 and 32767. I have a swappiness
> value of 60 but I don't remember seeing the swap being used at all
> recently, the used swap is always 0%.

Whats swapon -s say? do you use zsawp or zram?

> My question is, do you think that the -2 priority is stopping the swap
> partition from actually being used and because of that, the system is
> getting frozen when the memory usage is high?

No, it's -2 on my stretch box with zswap enabled and it swaps as one
would expect.

-- 
Regards.........
 
PGP Fingerprint: 3DF8 311C 4740 B5BC 3867  72DF 1050 452F 9BCE BA00

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Swap priority in Debian Subhadip Ghosh <subhadip.sky@gmail.com> - 2018-08-25 06:20 +0200
  Re: Swap priority in Debian Dekks Herton <dekkzz78@gmail.com> - 2018-08-25 09:50 +0200
    Re: Swap priority in Debian Subhadip Ghosh <subhadip.sky@gmail.com> - 2018-08-25 10:20 +0200
      Re: Swap priority in Debian Rick Thomas <rbthomas@pobox.com> - 2018-08-25 11:50 +0200
        Re: Re: Swap priority in Debian dekkzz78@gmail.com - 2018-08-25 13:10 +0200
  Re: Swap priority in Debian Reco <recoverym4n@gmail.com> - 2018-08-25 13:10 +0200
    Re: Swap priority in Debian Subhadip Ghosh <subhadip.sky@gmail.com> - 2018-08-25 14:40 +0200
      Re: Swap priority in Debian Reco <recoverym4n@gmail.com> - 2018-08-25 18:20 +0200

csiph-web