[CentOS] Modify Parameters at system boot

Frederick Abrams fred at intelvision.sc
Fri May 13 04:04:33 UTC 2011


Hi all.

i'm trying to modify some parameters but when system reboots it doesn't 
load. For the sysctl if I run sysctl -p then it changes

/etc/sysctl.conf
     net.ipv4.netfilter.ip_conntrack_max = 1048576

/etc/modprobe.conf
     options ip_conntrack hashsize=131072

after reboot results

cat /proc/sys/net/ipv4/netfilter/ip_conntrack_max
65536

cat /sys/module/nf_conntrack/parameters/hashsize
16384

expected results

cat /proc/sys/net/ipv4/netfilter/ip_conntrack_max
1048576

cat /sys/module/nf_conntrack/parameters/hashsize
131072

Fred

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the CentOS mailing list