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