<?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[Updaterrd.sh]]></title><description><![CDATA[<p dir="auto">$pfstats<br />
$pfnat<br />
$srcip<br />
$dstip</p>
<p dir="auto">they all use  <code> /sbin/pfctl -ss</code>, which results in high cpu when the states table grows big.<br />
so, why not output to a file and reuse the file?</p>
]]></description><link>https://forum.netgate.com/topic/4899/updaterrd-sh</link><generator>RSS for Node</generator><lastBuildDate>Tue, 13 Oct 2026 22:52:58 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/4899.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 14 Jun 2007 06:56:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Updaterrd.sh on Sun, 17 Jun 2007 15:47:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cmb">@<bdi>cmb</bdi></a>:</p>
<blockquote>
<p dir="auto">Does that make a major, measurable difference? If so, I'm sure patches would be welcome.</p>
</blockquote>
<p dir="auto">sbin/pfctl -ss on my machine lasts about 5 seconds with the states table about 60K, 4 times is about 20 seconds.<br />
reusing a file can reduces total time down to about 5 seconds.</p>
]]></description><link>https://forum.netgate.com/post/156481</link><guid isPermaLink="true">https://forum.netgate.com/post/156481</guid><dc:creator><![CDATA[coolgg]]></dc:creator><pubDate>Sun, 17 Jun 2007 15:47:45 GMT</pubDate></item><item><title><![CDATA[Reply to Updaterrd.sh on Thu, 14 Jun 2007 22:26:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/coolgg">@<bdi>coolgg</bdi></a>:</p>
<blockquote>
<p dir="auto">after the default gateway changed, the ping destination ip test in updaterrd.sh doesnt change.</p>
</blockquote>
<p dir="auto">Yeah I think I noticed the same on one of my installs just in the past couple days.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/coolgg">@<bdi>coolgg</bdi></a>:</p>
<blockquote>
<p dir="auto">$pfstats<br />
$pfnat<br />
$srcip<br />
$dstip</p>
<p dir="auto">they all use  <code> /sbin/pfctl -ss</code>, which results in high cpu when the states table grows big.<br />
so, why not output to a file and reuse the file?</p>
</blockquote>
<p dir="auto">Does that make a major, measurable difference? If so, I'm sure patches would be welcome.</p>
]]></description><link>https://forum.netgate.com/post/156400</link><guid isPermaLink="true">https://forum.netgate.com/post/156400</guid><dc:creator><![CDATA[cmb]]></dc:creator><pubDate>Thu, 14 Jun 2007 22:26:11 GMT</pubDate></item><item><title><![CDATA[Reply to Updaterrd.sh on Thu, 14 Jun 2007 06:59:48 GMT]]></title><description><![CDATA[<p dir="auto">forgot the version is 1.2-beta1<br />
after the default gateway changed, the ping destination ip test in updaterrd.sh doesnt change.</p>
]]></description><link>https://forum.netgate.com/post/156369</link><guid isPermaLink="true">https://forum.netgate.com/post/156369</guid><dc:creator><![CDATA[coolgg]]></dc:creator><pubDate>Thu, 14 Jun 2007 06:59:48 GMT</pubDate></item></channel></rss>