<?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[pfBlocker error in pfSense: There were error(s) loading the rules: &#x2F;tmp&#x2F;rules.debug:56:]]></title><description><![CDATA[<p dir="auto">I keep getting this error and am unable to find the source. I am not sure what list to remove from my feeds in pfBlocker.</p>
<p dir="auto">There were error(s) loading the rules: /tmp/rules.debug:56: cannot define table pfB_PRI5_v4: Cannot allocate memory - The line in question reads [56]: table &lt;pfB_PRI5_v4&gt; persist file "/var/db/aliastables/pfB_PRI5_v4.txt"<br />
@ 2024-05-18 10:06:59</p>
<p dir="auto">Any help would be great.</p>
]]></description><link>https://forum.netgate.com/topic/188272/pfblocker-error-in-pfsense-there-were-error-s-loading-the-rules-tmp-rules-debug-56</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 05:22:12 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/188272.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 18 May 2024 22:05:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to pfBlocker error in pfSense: There were error(s) loading the rules: &#x2F;tmp&#x2F;rules.debug:56: on Wed, 22 May 2024 10:31:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/vmlabman">@<bdi>VMlabman</bdi></a> said in <a href="/post/1170391">pfBlocker error in pfSense: There were error(s) loading the rules: /tmp/rules.debug:56:</a>:</p>
<blockquote>
<p dir="auto">Could it be that I have too many lists enabled</p>
</blockquote>
<p dir="auto">yes,</p>
<p dir="auto">Could also be that the default "Firewall Maximum Table Entries" setting is too low.<br />
You will find this entry here:  System -&gt; Advanced -&gt; Firewall &amp; Nat</p>
<p dir="auto">A lot of people select far too many lists - generally not needed.<br />
the setting should generally be twice the value actually required. When the lists are processed to the firewall, the entire new set is created, then swapped into place.</p>
<p dir="auto">Look for this log entry in the pfbockerng.log. That will give you some guidance to the setting best suited for your case.  In my case it is deliberately higher than the 2x referenced.</p>
<pre><code>pfSense Table Stats
-------------------
table-entries hard limit   600000
Table Usage Count         135911
</code></pre>
<p dir="auto">Just above that in the log you should see the summary, like this:</p>
<pre><code>Alias table IP Counts
-----------------------------
  134581 total
  107656 /var/db/aliastables/pfB_???_v4.txt
   11244 /var/db/aliastables/pfB_???_v4.txt
    6505 /var/db/aliastables/pfB_???_v4.txt
    6208 /var/db/aliastables/pfB_???_v4.txt
    2608 /var/db/aliastables/pfB_???_v4.txt
     228 /var/db/aliastables/pfB_???_v4.txt
     132 /var/db/aliastables/pfB_???_v4.txt
</code></pre>
<p dir="auto">the ??? will be the name of the list</p>
]]></description><link>https://forum.netgate.com/post/1170462</link><guid isPermaLink="true">https://forum.netgate.com/post/1170462</guid><dc:creator><![CDATA[jrey]]></dc:creator><pubDate>Wed, 22 May 2024 10:31:40 GMT</pubDate></item><item><title><![CDATA[Reply to pfBlocker error in pfSense: There were error(s) loading the rules: &#x2F;tmp&#x2F;rules.debug:56: on Tue, 21 May 2024 19:41:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gertjan">@<bdi>Gertjan</bdi></a></p>
<p dir="auto">Could it be that I have too many lists enabled in pfBlocker and just need to reduce my list?  I will try to cat it and see what I get as well.</p>
]]></description><link>https://forum.netgate.com/post/1170391</link><guid isPermaLink="true">https://forum.netgate.com/post/1170391</guid><dc:creator><![CDATA[VMlabman]]></dc:creator><pubDate>Tue, 21 May 2024 19:41:55 GMT</pubDate></item><item><title><![CDATA[Reply to pfBlocker error in pfSense: There were error(s) loading the rules: &#x2F;tmp&#x2F;rules.debug:56: on Tue, 21 May 2024 14:54:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/vmlabman">@<bdi>VMlabman</bdi></a> said in <a href="/post/1169949">pfBlocker error in pfSense: There were error(s) loading the rules: /tmp/rules.debug:56:</a>:</p>
<blockquote>
<p dir="auto">"/var/db/aliastables/pfB_PRI5_v4.txt"</p>
</blockquote>
<p dir="auto">SSH, or Console into your pfSense (do not use Diagnostics &gt; Command Prompt ! ) and have a look at that file.</p>
<p dir="auto">If your fast enough :</p>
<pre><code>cat /var/db/aliastables/pfB_PRI5_v4.txt
</code></pre>
<p dir="auto"><img src="https://forum.netgate.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60a.png?v=d0a5ddc94ac" class="not-responsive emoji emoji-android emoji--blush" style="height:23px;width:auto;vertical-align:middle" title=":blush:" alt="😊" /></p>
<pre><code>wc -l /var/db/aliastables/pfB_PRI5_v4.txt
</code></pre>
<p dir="auto">will count the number of lines = the number of networks / DNSBL<br />
The error was : all this can't be read into 'pf', the firewall.<br />
Solution : reduce your ... whatever you've selected.</p>
]]></description><link>https://forum.netgate.com/post/1170331</link><guid isPermaLink="true">https://forum.netgate.com/post/1170331</guid><dc:creator><![CDATA[Gertjan]]></dc:creator><pubDate>Tue, 21 May 2024 14:54:36 GMT</pubDate></item></channel></rss>