• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Cannot change net.ipv4.tcp_keepalive_time

JacobR9

New Pleskian
Hi,

I have Parallels Plesk Panel version 10.4.4 (centos-5-x86_64) and I would like to change the value of tcp_keepalive_time.
I tried to edit the sysctl.conf file using root:
Code:
sudo vi /etc/sysctl.conf
then added
Code:
net.ipv4.tcp_keepalive_time = 1800
then executed
Code:
sysctl -p

but I got the following error message:
Code:
error: permission denied on key 'net.ipv4.tcp_keepalive_time'

I also tried the following command with the same error message
Code:
 sudo sysctl -w net.ipv4.tcp_keepalive_time=1800

Any help?

Thanks
 
How it is related to Plesk?
Is it VPS or real server? Do you have SELinux enabled?
 
I wasn't sure if Plesk has some restrictions on sysctl.conf or not.
This is VPS, and SELinux is disabled.
 
You can't use sysctl options inside VPS because you haven't access to kernel from VPS. You should do it directly on hardware node.
 
Back
Top