[Bug 1212] New: excessive memory usage with kernel 4.14

bugzilla-daemon at netfilter.org
Tue, 09 Jan 2018 07:50:32 -0000

Bug ID: 1212
           Summary: excessive memory usage with kernel 4.14
           Product: ipset
           Version: unspecified
          Hardware: All
                OS: other
            Status: NEW
          Severity: major
          Priority: P5
         Component: default
          Assignee: netfilter-buglog at lists.netfilter.org
          Reporter: thomas.schwark at gmail.com

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

https://wiki.archlinux.org/index.php/Ipset

says to use this script to update sources:

https://github.com/ilikenwf/pg2ipset/blob/master/ipset-update.sh

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:

https://bugs.archlinux.org/task/56574#comment165267

and the problem was tracked down to this commit:
When reverting commit 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/net/netfilter/ipset?id=48596a8ddc46f96afb6a2cd72787cb15d6bb01fc
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

--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20180109/c46bab9a/attachment.html>