[CentOS] Modify Parameters at system boot
Marian Marinov
mm at yuhu.bizFri May 13 11:04:48 UTC 2011
- Previous message: [CentOS] Modify Parameters at system boot
- Next message: [CentOS] Modify Parameters at system boot
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Friday 13 May 2011 07:04:33 Frederick Abrams wrote: > 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 > It is possible that your iptables modules are loaded after the sysctl.conf is executed. Keep in mind that sysctl.conf is loaded during network startup. About the options... at least with kernel 2.6.18.0194.el5 the right option is: options ipt_hashsize 131072 Also keep in mind that you have to remove the '=' sign from modprobe.conf Marian -- Best regards, Marian Marinov -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <http://lists.centos.org/pipermail/centos/attachments/20110513/b30260bb/attachment-0001.sig>
- Previous message: [CentOS] Modify Parameters at system boot
- Next message: [CentOS] Modify Parameters at system boot
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list