netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peteris Krumins <newsgroups@lf.lv>
To: netfilter@lists.netfilter.org
Subject: Re[2]: Possible huge iptables memory leakage
Date: Thu, 31 Jul 2003 23:33:44 +0300	[thread overview]
Message-ID: <190268702674.20030731233344@lf.lv> (raw)
In-Reply-To: <200307311943.h6VJhjjX018060@discmail.com>

Hello Aldo,

Thursday, July 31, 2003, 10:42:12 PM, you wrote:

ASL> I run many different Linux systems ranging in physical memory from 128M to
ASL> 5Gig (that's RAM!) both with and without iptables:

Yes, i have running lots of systems, but the most interesting part is
that i have a traffic accounting, shaping and real netfilter box.
w/ 2.4.20 base, iptables 1.2.7a - it eats only 190 of 512 not ever
more.

ASL> The funny thing about Linux is - if you give it RAM - it will use it....I am
ASL> sure someone more in tune with mem management will set me straight, but it
ASL> seems that Linux will always grab up 90% of all physical memory after it has
ASL> been running for a while...

Only if some interactive (not necessary user interacive) applications are running.

ASL> To make a short story long - unless you are tracking all connections (and
ASL> there are many dynamic connections) I would not be too quick to blame
ASL> iptables - I mean the amount of ram you are using in 30Meg - is this the
ASL> 80's???

Not 80's, but i have to get my project running w/ less than 59MB ram.

Yes, i am tracking connections - but its now night (23:30/11:30 pm),
the computer w/ connection tracking has 600 conntrack entries (its
1200 less than it was 5 hours ago) but it uses 10 more megabytes of
ram than then (5h ago) and still growing.

I hope it's just Linux - eating as much ram as possible and then
using. And it's not a memory leak..


P.Krumins



  reply	other threads:[~2003-07-31 20:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-31 19:23 Possible huge iptables memory leakage Peteris Krumins
2003-07-31 19:42 ` Aldo S. Lagana
2003-07-31 20:33   ` Peteris Krumins [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-07-31 20:14 Daniel Chemko
2003-07-31 20:37 ` Re[2]: " Peteris Krumins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=190268702674.20030731233344@lf.lv \
    --to=newsgroups@lf.lv \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).