<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>procsysnetipv4ip_conntrack_max &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/procsysnetipv4ip_conntrack_max/</link>
	<description>Feed of posts on WordPress.com tagged "procsysnetipv4ip_conntrack_max"</description>
	<pubDate>Wed, 19 Jun 2013 16:06:14 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[<strong>How to increase IP_CONNTRACK value.</strong>]]></title>
<link>http://webhostrepo.wordpress.com/2009/05/01/how-to-increase-ip_conntrack-value/</link>
<pubDate>Fri, 01 May 2009 08:01:58 +0000</pubDate>
<dc:creator>webhostrepo</dc:creator>
<guid>http://webhostrepo.wordpress.com/2009/05/01/how-to-increase-ip_conntrack-value/</guid>
<description><![CDATA[First of all, let us see what IP_CONNTRACK is. It is nothing but the number of sessions that can be]]></description>
<content:encoded><![CDATA[<p>First of all, let us see what IP_CONNTRACK is. It is nothing but the number of sessions that can be handled simultaneously by netfilter in kernel memory.</p>
<p><strong>A) Temporarily, you can increase this by echoing a high value to ip_conntrack_max file.<br />
</strong><br />
echo   &#62;&#62;  /proc/sys/net/ipv4/ip_conntrack_max</p>
<p>But since /proc is a virtual space, if you restart iptables or if you reboot<br />
your server the value set will be lost.</p>
<p><strong>B) The permanent solution is to append it directly to the kernel parameters:</strong></p>
<p># open /etc/sysctl.conf</p>
<p># Append this line &#62;&#62; net.ipv4.ip_conntrack_max =  CONNTRACK_MAX </p>
<p>where ,CONNTRACK_MAX = RAMSIZE (in bytes) / 16384 / (x / 32)<br />
where x is the number of bits in a pointer (for example, 32 or 64 bits).</p>
<p>To save the changes quit the editor and execute the command:</p>
<p># sysctl -p</p>
<p><strong>C) If you love shell commands, use the following command:</strong></p>
<p># sysctl -w net.ipv4.ip_conntrack_max=CONNTRACK_MAX and then run</p>
<p># sysctl -p</p>
<p>To see the new value you can &#8216;cat&#8217; &#8221; /proc/sys/net/ipv4/ip_conntrack_max &#8221; file.</p>
<p>or sysctl -a &#124; grep conntrack</p>
<p><strong>D) For servers having APF firewall, you need to adopt a different method since most of the sysctl parameters are loaded by APF.</strong></p>
<p># Open APF configuration file &#8220;/etc/apf/conf.apf&#8221;.</p>
<p># Locate the parameter &#8220;SYSCTL_CONNTRACK&#8221;, replace the value and then restart APF.</p>
]]></content:encoded>
</item>

</channel>
</rss>
