:: Re: [DNG] ..chk 'man niceload', wa…
Top Page
Delete this message
Reply to this message
Author: Arnt Karlsen
Date:  
To: dng
Subject: Re: [DNG] ..chk 'man niceload', was: Disabling daemon/process swap on Devuan
On Thu, 30 Oct 2025 17:11:23 +0100, Didier wrote in message
<9163eb05-24cc-48a1-8991-6cfddacd8cd0@???>:

> Le 24/10/2025 à 23:08, Arnt Karlsen a écrit :
> > On Fri, 24 Oct 2025 11:29:21 +1100, wirelessduck--- wrote in message
> > <A12C7FA7-3765-479D-942C-0D505955E080@???>:
> >
> >>> On 23 Oct 2025, at 01:50, Steve Litt <slitt@???>
> >>> wrote:
> >>>
> >>> Tom via Dng said on Wed, 22 Oct 2025 17:00:50 +1100
> >>>
> >>>> Hi,
> >>>>
> >>>> I'm planning to install openbao and in the install guide[1] it
> >>>> suggests disabling swap for the process. This appears to be a
> >>>> simple configuration line in the included systemd unit file but
> >>>> I'm not sure what the equivalent would be on Devuan?
> >>> swapoff
> >>>
> >>> ???
> >>>
> >>> SteveT
> >>>
> >>> Steve Litt
> >>>
> >>> http://444domains.com
> >> Thanks Steve. I did look at that but it seems to turn off swap for
> >> the entire system and not work on individual processes.
> > ..from the 'man niceload' 'OPTIONS' section:
> >
> >    --noswap
> >         -N  No swapping. If the system is swapping both in and out
> >             it is a good indication that the system is memory
> > stressed.

> >
> >             --noswap is over limit if the system is swapping both
> >                  in and out.

> >
> >             --noswap will set both --start-noswap and run-noswap.

> >
> >
>
>     Tried it with my application "otari":
>
> kryn@apcnb98:~$ niceload -N otari
>
> From another xterm:
>
> kryn@apcnb98:~$ pgrep otari
> 4979
> kryn@apcnb98:~$ grep VmLck /proc/4979/status
> VmLck:           0 kB
>
>     Means 0kB of memory pages locked in RAM.
>
> --     Didier
>
> _______________________________________________
> Dng mailing list
> Dng@???
> Manage your subscription:
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng Archive:
> https://lists.dyne.org/lurker/list/dng.en.html



--
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.