System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Process restart after sysctl update

 
SOLVED
Go to solution
Mick Ryan
Advisor

Process restart after sysctl update

All

I appreciate that you don't need to restart the O/S after making an update using the sysctl command. However, is it necessary for any processes to be restarted to pick up the new value?

For example, if I change tcp_syn_retries from 5 to 50, will that affect all processes or would they need to be stopped and started again?

Cheers

Mike
3 REPLIES
Steven McCoy
Valued Contributor
Solution

Re: Process restart after sysctl update

Hey Mick,

As far as my experience goes, sysctl updates do not apply to existing sessions. So I believe you need to start a new user session to take advantage of the new settings, requiring process restarts.
Mick Ryan
Advisor

Re: Process restart after sysctl update

Thanks Steve,

Just found out that all the processes will get restarted overnight anyway. However, it's still an interesting question that I could see myself coming back to

Cheers

Mike
Heironimus
Honored Contributor

Re: Process restart after sysctl update

It depends on the setting. Some that affect per-process values will require that processes be restarted. My experience so far has been that a lot of the network-related settings only apply to new connections, but you don't have to restart any processes.