<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Can't get more than 10k connections on an IP - Resolved – see 4th post]]></title><description><![CDATA[<p dir="auto">I'm not sure which gets more traffic, so this is posted on the mailing list as well.. sorry if this against any forum rules  :)</p>
<p dir="auto">We are running pfSense v: 1.2.2  and running ejabberd and we are unable to have more than 10K connections to the same IP.<br />
(When this happens, I can still connect to other IPs on the same firewall so it seems to be a per IP limit.)</p>
<p dir="auto">While searching for the settings, we found the following:</p>
<p dir="auto">vmstat -z</p>
<p dir="auto">ITEM                     SIZE     LIMIT      USED      FREE  REQUESTS  FAILURES<br />
.<br />
pfsrctrpl:                124,    10013,     9803,      210,   592703,   332183<br />
.<br />
.</p>
<p dir="auto">pfsrctrpl seems to be our issue.. What is this and how can we change it?</p>
<p dir="auto">Advanced Options on the rule we are having trouble with is blank so it should be be used.<br />
We've tried setting it to 15000 and that didn't make any difference.</p>
<p dir="auto">Firewall Maximum States: is set to 100000 and we also tried to change it to 200000</p>
<p dir="auto">Any ideas?<br />
thanks,<br />
tom</p>
]]></description><link>https://forum.netgate.com/topic/26188/can-t-get-more-than-10k-connections-on-an-ip-resolved-see-4th-post</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Nov 2026 18:16:40 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/26188.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 Aug 2010 23:19:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Can't get more than 10k connections on an IP - Resolved – see 4th post on Tue, 31 Aug 2010 13:37:23 GMT]]></title><description><![CDATA[<p dir="auto">This seems to have worked.. I'll report the results after we see our traffic rise to more than the 10K we were blocked at.</p>
<p dir="auto">Chris' reply to the mailing list:</p>
<p dir="auto">Edit /etc/inc/filter.inc, find these two lines:<br />
      $rules .= "\n";<br />
      $rules .= "set skip on pfsync0\n";</p>
<p dir="auto">above those, add:<br />
      $rules .= "set limit src-nodes 23456\n";</p>
<p dir="auto">or whatever number you want it to be. Save changes, edit and save a<br />
rule and apply changes to kick off a filter reload.</p>
]]></description><link>https://forum.netgate.com/post/244976</link><guid isPermaLink="true">https://forum.netgate.com/post/244976</guid><dc:creator><![CDATA[tomv]]></dc:creator><pubDate>Tue, 31 Aug 2010 13:37:23 GMT</pubDate></item><item><title><![CDATA[Reply to Can't get more than 10k connections on an IP - Resolved – see 4th post on Tue, 31 Aug 2010 07:11:41 GMT]]></title><description><![CDATA[<p dir="auto">the file you need to edit is /tmp/rules.debug but this file is regenerated upon every fw change.<br />
If you don't change the FW then just enter your limit here.</p>
]]></description><link>https://forum.netgate.com/post/244939</link><guid isPermaLink="true">https://forum.netgate.com/post/244939</guid><dc:creator><![CDATA[tommyboy180]]></dc:creator><pubDate>Tue, 31 Aug 2010 07:11:41 GMT</pubDate></item><item><title><![CDATA[Reply to Can't get more than 10k connections on an IP - Resolved – see 4th post on Tue, 31 Aug 2010 04:44:02 GMT]]></title><description><![CDATA[<p dir="auto">pfsrctrpl seems to translate to src-nodes</p>
<h1><a class="anchor-offset" name="pfctl-sm"></a>pfctl -sm</h1>
<p dir="auto">states        hard limit  200000<br />
src-nodes    hard limit    10000<br />
frags        hard limit    5000<br />
tables        hard limit    1000<br />
table-entries hard limit  100000</p>
<p dir="auto">I can change the src-nodes limit by editing pf.cfg with the following<br />
set limit { src-nodes 23456 }<br />
and then running<br />
pfctl -f pf.cfg</p>
<p dir="auto">this shows the following changes<br />
src-nodes    hard limit    23456<br />
and<br />
pfsrctrpl:                124,    23467,    2635,    7378,  650614,  336039</p>
<p dir="auto">but I lose access to the firewall.<br />
When I reload the firewall it resets the src-nodes</p>
<p dir="auto">In addition to the above, I added the following line to the top &lt;system&gt;section of the /cf/conf/config.xml<br />
&lt;max-src-nodes&gt;23456&lt;/max-src-nodes&gt;</p>
<p dir="auto">but it still didn't work.&lt;/system&gt;</p>
]]></description><link>https://forum.netgate.com/post/244922</link><guid isPermaLink="true">https://forum.netgate.com/post/244922</guid><dc:creator><![CDATA[tomv]]></dc:creator><pubDate>Tue, 31 Aug 2010 04:44:02 GMT</pubDate></item></channel></rss>