Skip to contentSkip to conversation

"dst cache overflow" messages and crash

LARTC Frédéric Massot 2 participants 3 messages Feb 19, 2007 – Feb 21, 2007

lore
Share & tools
lore
#0 lore raw

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.

Signature · 9 lines
=======================
|              FRÉDÉRIC MASSOT               |
|     http://www.juliana-multimedia.com      |
|   mailto:[email protected]   |
=============Þbian=GNU/Linux=
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#1 lore raw
Quoted 6 lines · Charlie Meyer

i ran into this problem a while ago, and i did the following:

echo 8192 > /proc/sys/net/ipv4/neigh/default/gc_thresh1 echo 8192 > /proc/sys/net/ipv4/neigh/default/gc_thresh2 echo 8192 > /proc/sys/net/ipv4/neigh/default/gc_thresh3

Quoted 38 lines

and all my problems were solved

-Charlie

Quoted 32 lines · On 2/19/07, *Frédéric Massot* <[email protected]…

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.

Hi,

I think that my problem comes from the route cache and not ARP cache:

- http://mailman.ds9a.nl/pipermail/lartc/2007q1/020061.html
- http://mailman.ds9a.nl/pipermail/lartc/2007q1/020067.html

I read several thread of discusion on this problem, but I did not find a solution.

Regards.

Signature · 8 lines
=======================
|              FRÉDÉRIC MASSOT               |
|     http://www.juliana-multimedia.com      |
|   mailto:[email protected]   |
=============Þbian=GNU/Linux=_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#2 lore raw
In reply to Frédéric Massot
Quoted 29 lines · Frédéric Massot

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
Quoted 6 lines

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

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc