<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - excessive memory usage with kernel 4.14"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1212">1212</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>excessive memory usage with kernel 4.14
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>ipset
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>default
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>netfilter-buglog@lists.netfilter.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>thomas.schwark@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hey,

I´m sorry in advance I am not able to fix this but installing kernel 4.14 and
above leads to an excessive use of memory tested on two machines. A system that
needs around 500 MB now uses around 15 GB out of 16 GB.

The archwiki here

<a href="https://wiki.archlinux.org/index.php/Ipset">https://wiki.archlinux.org/index.php/Ipset</a>

says to use this script to update sources:

<a href="https://github.com/ilikenwf/pg2ipset/blob/master/ipset-update.sh">https://github.com/ilikenwf/pg2ipset/blob/master/ipset-update.sh</a>

As soon as I run the script manually with kernel 4.14 and newer the excessive
memory usage starts again. If I then stop ipset service the memory usage keeps
being high. Reboot without running the script solves it. It does not happen
with 4.13 kernel series.

There was a bug report opened here:

<a href="https://bugs.archlinux.org/task/56574#comment165267">https://bugs.archlinux.org/task/56574#comment165267</a>

and the problem was tracked down to this commit:
When reverting commit 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc
<a href="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/net/netfilter/ipset?id=48596a8ddc46f96afb6a2cd72787cb15d6bb01fc">https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/net/netfilter/ipset?id=48596a8ddc46f96afb6a2cd72787cb15d6bb01fc</a>
and rebuilding the kernel without the commit everything works as expected again
and the problem is gone.

Hope this helps to solve it.

Thanks in advance.

Kind regards


Tom</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>