SLG2
26 July 2023 17:38
1
I am trying to change the swappiness setting from 60 to 10, based on the instructions posted here .
i.e.
sudo touch /etc/systctl.d/100-manjaro.conf
sudo nano /etc/systctl.d/100-manjaro.conf
append vm.swappiness=10
and reboot
These instructions have worked for me in the past, but now I’m getting a file does not exist error from nano.
When I look for the 100-manjaro.conf file, I see that it does in fact exist.
I recently upgraded to the latest kernel, so I’m wondering if that’s what is causing the problem.
Olli
26 July 2023 17:41
2
what happens if you print out to console ?
cat /etc/systctl.d/100-manjaro.conf
It might be permissions. Check those as well. AFAIK you need to edit/create that file with sudo
.
cscs
26 July 2023 19:30
4
For one thing theres a typo … that is not the correct path.
/etc/sysctl.d/
sysctl not systctl
5 Likes
And aren’t the files read alphabetically and not numerically? So, a file starting with a 1
would be read first and not actually how you probably intended as last position.
Use 99-manjaro.conf
for this. (Maybe check first if another file is setting a different value)
SLG2
26 July 2023 21:12
6
I get this:
cat: /etc/systctl.d/100-manjaro.conf: No such file or directory
Yep, touch does not create files in non existing directories.
3 Likes
system
Closed
21 August 2023 19:56
8
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.