• GoDaddy Community
  • VPS & Dedicated Servers
  • VPS & Dedicated Servers

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 

    Change Value of tcp_keepalive_time on Centos 7 Dedicate Server

    Respected Members,

     

    Recently, we have purchased a new dedicated server (Self Managed) where Centos 7 OS is installed. To fine tune our applications we need to change the following parameters of given Centos OS:
     
    net.ipv4.tcp_keepalive_time=60
    net.ipv4.tcp_keepalive_intvl = 10
    net.ipv4.tcp_keepalive_probes = 3
     
    But we are not able to change the values of above given parameters (as root users). When we try to change the value of these parameter then we are getting below error:
     
    -bash: /proc/sys/net/ipv4/tcp_keepalive_time: Permission denied
     
    If any one have idea how to change these setting please share. It would be great help.
     
    Thanks,
    Ajit