• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question How to change swappiness?

crackmacs

New Pleskian
Hello!

My VPS has 4gb ram. The swappiness is currently set to 5, which is the default setting from when I signed up. It's causing usage alerts at 200mb and it's quite annoying. I asked my host how to change the swappiness value and they linked me to a website with instructions - How To Change the Swappiness of Your Linux System

I've tried following the directions (I am not good with linux) but it's not working. It's running Plesk on CentOS 7.

I am logged in as root and I am trying to change the setting to 20.

sudo sysctl vm.swappiness=20
sysctl: setting key "vm.swappiness": No such file or directory

echo 20 > /proc/sys/vm/swappiness
-bash: /proc/sys/vm/swappiness: Permission denied

I have edited /etc/sysctl.conf and added the line, rebooted the server, but it hasn't adjusted the swappiness from 5

Any suggestions? I've spent hours on this and am not getting anywhere. Please help me lol

Thank you
 
Does this article provide any help?
I did try that too! Negative

[root@VPS sysctl.d]# sudo service procps start
Redirecting to /bin/systemctl start procps.service
Failed to start procps.service: Unit not found.
 
echo 20 > /proc/sys/vm/swappiness
-bash: /proc/sys/vm/swappiness: Permission denied
As far as VPS resource management is concerned, this can only be done by the host administrator. I would suggest contacting him first.
 
As far as VPS resource management is concerned, this can only be done by the host administrator. I would suggest contacting him first.

Oh okay, gotcha ty! I've already reached out to them but I guess this issue is complicated and had to be escalated beyond front line support.

Cheers!
 
Back
Top