sysctl.conf ubuntu upgrade to 14.04

Posted May 2, 2014 6.1k views
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.

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.

Submit an Answer
5 answers
The settings added to /etc/sysctl.conf for 14.04 are:

# Digital Ocean Recommended Settings:
net.ipv4.tcp_rmem= 10240 87380 12582912
net.ipv4.tcp_wmem= 10240 87380 12582912
i wasn't sure what to do, so I just kept the old files when prompted.
Should I make the recommended changes?
What happens if I keep the old file?

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


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