LARTC
[Top] [All Lists]

[LARTC] Re: "dst cache overflow" messages and crash

To: lartc@mailman.ds9a.nl
Subject: [LARTC] Re: "dst cache overflow" messages and crash
From: Frédéric Massot <frederic@juliana-multimedia.com>
Date: Thu, 22 Mar 2007 11:41:15 +0100
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <45DC4BAD.3000903@netwlan.net>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
Organization: JULIANA Multimédia
References: <45D9A86F.2020407@juliana-multimedia.com> <45DC4BAD.3000903@netwlan.net>
Sender: lartc-bounces@mailman.ds9a.nl
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20061219 Iceape/1.0.7 (Debian-1.0.7-3)
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_size=65536
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   |
===========================Debian=GNU/Linux===

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>