在文件#中注释sysctl.conf行正确吗?
我之所以问这个问题,是因为我不确定评论的内容是否会被阅读。
more /etc/sysctl.conf
#net.core.rmem_default = 1048576
#net.core.rmem_max = 4194304
#net.core.wmem_default = 1048576
#net.core.wmem_max = 4194304
net.ipv4.tcp_timestamps=0
net.ipv4.tcp_sack=1
net.core.netdev_max_backlog=250000
net.core.rmem_max=4194304
net.core.wmem_max=4194304
net.core.rmem_default=4194304
net.core.wmem_default=4194304
net.core.optmem_max=4194304
net.ipv4.tcp_rmem=4096 87380 4194304
net.ipv4.tcp_wmem=4096 65536 4194304发布于 2016-04-17 07:01:37
摘录自man sysctl.conf:
注释由行首的"#“表示。
https://unix.stackexchange.com/questions/277034
复制相似问题