Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: "Frédéric Massot" <frederic@juliana-multimedia.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Re: "dst cache overflow" messages and crash
Date: Thu, 22 Mar 2007 10:41:15 +0000	[thread overview]
Message-ID: <ettmgc$sgd$1@sea.gmane.org> (raw)
In-Reply-To: <45DC5159.1060603@juliana-multimedia.com>

Ivan Vladimirov wrote:
> Frédéric Massot wrote:
>> Hi,
>>
>> I regularly have errors (kernel: dst cache overflow) and crash of a
>> firewall under Linux 2.6.17 and the route patch from Julian Anastasov.
>>
>> With rtstat I see that the route cache size increases regularly without
>> never decreasing.
>>
>> I have this parameters:
>> fw:/proc/sys/net/ipv4/route# grep . *
>> error_burst:1250
>> error_cost:250
>> gc_elasticity:15
>> gc_interval:60
>> gc_min_interval:0
>> gc_min_interval_ms:500
>> gc_thresh:4096
>> gc_timeout:300
>> max_delay:10
>> max_size:65536
>> min_adv_mss:256
>> min_delay:2
>> min_pmtu:552
>> mtu_expires:600
>> redirect_load:5
>> redirect_number:9
>> redirect_silence:5120
>> secret_interval:600
>>
>> I can increase the maximum size of the cache, but that will do nothing
>> but delay the crash.
>>
>> Can you help me?
>>
>> Regards.
> max_sizee536
> is to low increase size to 256k

Hi,

I supervised the system during a few weeks with slabtop and rtstat.

What I could see, it is that the ip_dst_cache cache grow without never 
being cleaned by the garbage collector.

At the end of a few days, the traffic is slowed down and the customer 
restart the firewall. When the cache reaches its maximum value there is 
the error message (kernel: dst cache overflow) and the traffic is really 
disturbed.

I use the Linux kernel 2.6.17 and the route patch from Julian Anastasov.

- The bug comes from the kernel or the patch?

- Do you know if this bug were corrected in the new versions of the kernel?

Regards.
-- 
=======================
|              FRÉDÉRIC MASSOT               |
|     http://www.juliana-multimedia.com      |
|   mailto:frederic@juliana-multimedia.com   |
=============Þbian=GNU/Linux=
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  parent reply	other threads:[~2007-03-22 10:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-21 14:04 [LARTC] Re: "dst cache overflow" messages and crash Frédéric Massot
2007-02-22  7:36 ` Ivan Vladimirov
2007-03-22 10:41 ` Frédéric Massot [this message]
2007-03-22 13:18 ` Ivan Vladimirov
2007-03-22 23:18 ` Julian Anastasov
2007-03-23  8:42 ` Frédéric Massot
2007-03-23 23:22 ` Julian Anastasov
2007-04-06 16:59 ` Frédéric Massot

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='ettmgc$sgd$1@sea.gmane.org' \
    --to=frederic@juliana-multimedia.com \
    --cc=lartc@vger.kernel.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