[CentOS] TCP/IP Optimizations: error: unknown error 22 setting key
Florin Andrei
florin at andrei.myip.org
Mon Mar 19 22:57:52 UTC 2007
Karl R. Balsmeier wrote:
> I get these errors from the following settings in /etc/sysctl.conf file:
>
> # Custom Settings:
> net.ipv4.tcp_max_syn_backlog=2048
> net.ipv4.tcp_fin_timeout=30
> net.ipv4.tcp_keepalive_intvl=10
> net.ipv4.tcp_keepalive_probes=7
> net.ipv4.tcp_keepalive_time=1800
> net.ipv4.tcp_max_tw_buckets=360000
> net.ipv4.tcp_synack_retries=3
> net.ipv4.tcp_rmem="4096 87380 16777216"
> net.ipv4.tcp_wmem="4096 87380 16777216"
> net.ipv4.tcp_mem="8388608 8388608 8388608"
>
> ---------errors-----------
>
> # sysctl -p [errors]
> error: unknown error 22 setting key 'net.ipv4.tcp_rmem'
> error: unknown error 22 setting key 'net.ipv4.tcp_wmem'
> error: unknown error 22 setting key 'net.ipv4.tcp_mem'
>
> Is this from setting an array of values [4096 87380 16777216] or what?
> They work just fine when I use them as command lines.
In sysctl.conf, for the last 3 ones, try and remove the double quotes.
> when I did a man /etc/sysctl.conf all it did was display my own file, hm.
man sysctl.conf
--
Florin Andrei
http://florin.myip.org/
More information about the CentOS
mailing list