Question

sysctl.conf ubuntu upgrade to 14.04

  • Posted May 2, 2014

Hi, I just upgraded to 14.04 during which it asked if I wanted to keep the old /etc/sysctl.conf file or accept the maintainers release. I accepted the new one, but I’ve kept a copy of the old. I noticed there are some ‘# Digital Ocean Recommended Settings:’ lines. Is it recommended that I add these back into the new file? (or has DO released a new sysctl.conf file I should copy in?) Thanks in advance, -Duncan.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

I just install Ubuntu Server 14.04.3 and my sysctl1.conf is empty, what should I do?

@peter: Keeping the old file should be fine. The DigitalOcean defaults are the same.

i wasn’t sure what to do, so I just kept the old files when prompted. <br>Should I make the recommended changes? <br>What happens if I keep the old file? <br> <br>Thanks

Thanks Andrew.

The settings added to /etc/sysctl.conf for 14.04 are: <br> <br><pre> <br># Digital Ocean Recommended Settings: <br>net.core.wmem_max=12582912 <br>net.core.rmem_max=12582912 <br>net.ipv4.tcp_rmem= 10240 87380 12582912 <br>net.ipv4.tcp_wmem= 10240 87380 12582912 <br></pre>